The code indicates that the sensor isn't switching. That,by no means, indicates the sensor is automatically bad. The code doesn't even specilfy if it's staying lean or rich so it could be either. Just because the sensor is indicating constant rich or constant lean doesn't mean it's lieing. The motor may actually be too lean or too rich. First you need to find out which it is and then you'll know what type of things to look for. A scanner would be very helpful but you could manually read the sensor with a DVOM and see what it is indicating.