My trac off and check engine light both are on and won't go off. When I first start and drive the car, it's fine but after driving a few miles & both lights flashing the car will shut off
An oxygen sensor by itself should not cause the car to stall and have almost no power. This sounds more like a misfire, which is typically the cause of a flashing Check Engine Light (CEL). Since the CEL has illuminated, there should be a stored diagnostic code at a minimum. Many of the chain auto parts stores will read out the diagnostic code at no charge. Request the actual diagnostic code, not just the parts store's interpretation of the code. Unless the diagnostic code is very obvious (few of them are), don't necessarily purchase any parts without doing some further research. For example, a code of "P0302 - Cylinder #2 misfire" does not always mean the spark plug for cylinder #2 is bad. It could be a bad spark plug, but it could also be a bad coil, a bad plug wire (if your Lexus still uses plug wires), it could be a bad fuel injector, it could be a bad valve, etc. Similarly, a code for "B2S1 oxygen sensor out of range" does not necessarily mean the bank 2, sensor 1 oxygen sensor is bad, it just means something is causing that sensor to read outside of range. This could be a misfire, this could be an exhaust leak, it could be an exhaust restriction, it could be a wiring issue, or it could be a bad oxygen sensor.