Could be electrical or wiring, or it can b that the light is blown. Try tapping on it and see if something happens.
My 97 would stall at about every 3rd or 4th stop light, then my alternator died and when replaced the stalling stopped. Must have been too low output at low rpm so not enough spark for engine.
TRY CHECKING TO SEE IF YOU HAVE A HIGH BEAM HEADLIGHT OUT. tHIS WILL CAUSE THE PROBLEM YOU HAVE.
If I could answer this question, then I wouldn't be asking it. Now would I?
Low fuel pressure
have you checked your fuses?
If it is easy, your gas cap is not on correctly.
i would like to remove the backseat from my 1992 chevy cavalier
Bad heater core.
it comes on when you need gas
Dead battery
Blown Head Gasket or Bad Cylinder Head
Many different things you need to take it in to a auto zone parts store and they will put a scanner on it for free and give you the codes it has stored and how to fix it.
The 1995 Cavalier could have a stopped up transmission filter, or a vacuum solenoid problem. These would be the two most likely places to cause the problem.