The real problem may not be a bad O2 sensor, but possibly be an engine vacuum leak, low fuel pressure or dirty fuel injectors that are causing the engine run lean. An engine misfire, leaky exhaust valve or a leak in the exhaust manifold gasket that allows air into the exhaust may also cause this type of code to be set.