Car keeps cutting off. on 2002 Dodge Stratus

I have a 2002 stratus and it keeps cutting of while driving, turning or sitting at a light and stop sign. Plus, the check ehgine light keeps coming on, these past few days it's been stalling really bad. what could be the problem?

Get Your Car Fixed at a RepairPal Certified Shop.
We certify shops based on expertise, quality work, and verified customer reviews
1 answer 2 comments
If the Check Engine light/Service Engine Soon light illuminates while you are driving, the car's on board computer sees a fault in the engines management system that is causing an excess amount of pollutants to be emitted from your car. This could result in engine damage if left neglected. Some problems that can cause the Check Engine light to stay on may take two "drive cycles' to complete before illuminating the Check Engine Light. The computer sees a problem and looks for an identical set of circumstances to occur to confirm that it has indeed seen a problem before turning on the light. A Check Engine light that continually flashes while you are driving is serious and is a sign that the computer sees a problem that seriously risks damaging the catalytic converter which may result in an expensive repair or even may cause a fire! Diagnostic codes are stored in the vehicle's computer and can be retrieved using a scantool that communicates with the computer in your car. We have in our Repairpal website an encyclopedia with in depth articles about computer, and computer control systems, emission and driveability problems. http://repairpal.com/check-engine-light
The check engine light on your car may indicate an idle control system malfunction, vacuum leak or other item which may identify the problem with your car but a scan tool is required to start the diagnostic path to fixing your stalling problem.
It stalls like it's not getting gas. and sometimes it does smells like somnething is burning. I was told that I needed to replace the oxygen sensor. Is this possible?
A burning smell is hard to gues at without being able to smell it or look ath te engine but could be a leaking valve cover gasket, coolant leak r even a catayltic converter problem but your mechanic will advice you on this. The oxygen sensors need to be replaced if hte heater circuit fails, or the sensor no longer performs as quickly as it should, and indicate the engine going from a rich /lean, lean/rich condition. If the sensors are tested and found to be bad they need to be replaced, but there may be another problem causing the engine to stall.