Yes, a bad 02 sensor will cause all sorts of gyrations with the fuel supply.
An O2 sensor sends a bias voltage to the ECM and the ECM uses this voltage data to process thru algorithms to determine how much unburned oxygen is in the exhaust gas If it is sending tainted bias voltage it may computing incorrect data showing an incorrect amount of oxygen in the exhaust. The amount of oxygen in the exhaust gas is used thru the programming to access the fuel map lookup tables to tell the injectors when and how long to fire at a given RPM. How long the injector sprays is called a duty cycle. Shorten the duty cycle and you cut fuel supply. Cut fuel supply and the engine loses power. Lots of things can cause an 02 sensor failure, one of them being water or moisture. Other things are fuel additives that the sensor's platinum coated zirconia ceramic element does not like.
Edited by Muzzlebrake (07/29/17 02:08 PM)
Infidel and proud of it.
From Genesis: "And God promised men that good and obedient wives would be found in all corners of the earth."
Then He made the earth round...and He laughed and laughed and laughed!