This may help
For the HO years, 91-02, the O2 sensor has 4 wires. One wire is the 12-14 volt power that comes from the O2 sensor heater relay on the passenger side firewall (unless they moved them in later years to the relay & fuse boxes?), and that powers the internal heater in the sensor so that the sensor can work at idle, and almost immedietly after start up. Loss of that power will hurt gas mileage even with a good O2 sensor.
Two black wires are grounds for the heater power and O2 signal to the ECU. A poor ground will limit current to the O2 sensors heater or cause an error in the O2 sensor output voltage read by the PCM (ECU) causing poor mileage even with a good O2 sensor. Test the 2 ground wires with power off. Test between the wire end at the sensor and the battery negative ground post. It should read less than 1 ohm.
The last wire, #4, is a signal feed wire, 0-1 volts, from the O2 sensor to the PCM (ECU) sensor. The O2 sensor is an O2 concentration sensitive variable voltage generator. At optimal O2 concentration the O2 sensor puts out 0.45 volts.
At idle that voltage should read 0.1-0.9 volts oscillating quickly back and forth roughly once every second. At 2000 rpm it should run between 0.4 and 0.5 volts max (in park). A digital meter can NOT be used for reading the O2 sensor voltage, but it can be used to test the grounds and the 12-14 volts to the heater. You must use an old style analog meter with the needle gauge on the display to see the voltage swing back and forth.
If the O2 sensor readings are not right, say they read .1 volts or .8 volts steady, you have a problem. BUT before you blame the O2 sensor make sure it has good wiring, and make sure the proper voltage is feeding it, by turning power on, engine off to read the engine off voltage feeds (12-14 on one, and ensure the ground wires (power off) reads less than 1 ohm to the battery negative post.
And this
http://www.lunghd.com/Tech_Articles/Engine/Basic_Sensors_Diagnostics.htm