I would start off trying a new thermostat. If it's never been replaced to your knowledge, then it's probably time for a new one since the car is 18 years old. Good luck and I hope that's all it is because it's an inexpensive fix.
the distributor is the likely culprit.
Most likely a problem in the fuel line.... pump or filter... could be an air flow sensor, PCV, or EGR, as well. Oh yeah, or it could be an idle sensor, or a problem with the choke.
I would check that the switch works. It could be worn out or broken. If it does work, then follow the wires and see if there is a problem with them.
A 1989 Chevy Cavalier will not stay running after it has started if the spark plugs are fouled, the fuel filter is dirty, or it has a vacuum leak. Taking the vehicle to a local mechanic or dealership can pinpoint the problem.
If you have no dash lights at all on your 1989 S10 Blazer, a blown bulb can be the problem. You should also check the fuse.
either your injrctor pump is broken or your computer has quit
1989 still running good, some problem with the trigger lock. not sure how many years they were manufactured.
Bad head gasket and/or cracked head.
Low fluid, broken transmission.
Running on Faith was created in 1989.
You have a problem with the ignition in the steering columm, or there is a problem with the anti dieseler switch in the engine compartment. Depending the year of the automobile.
I can't say for certain but I think that year has a crank sensor which could be bad also it could be a fuel problem or even an ignition problem