There are at least three reasons why your dome light may stay on while driving:
If your 1994 Pontiac Trans Am randomly stalls out while driving, you may have clogged fuel injectors or a bad distributor. Check the distributor first, as this is the easiest to replace.
Check the Trans cable it maybe lose!!!!
The security light might come on while you are driving because it has a motion detector on it and when it senses the cars movement the light comes on.
crankshaft position censor
Check the wire form the solenoid to the computer.
P0700 just means that the trans computer has set a code. You need to have the trans computer checked for codes. When the trans sets a code it defaults to safe mode, which is 2nd gear only.
It probably means that the computer has stored a "FAULT" code. Plug in a code scanner and find out what the computer thinks is wrong.
try changing the throttle position sensor
probably a bad camshaft sensor.
probably fuel filter or a simple tune up
There are a few reasons why a Pontiac 3.4 liter engine may die while driving. The battery cables may of come undone, a spark plug may need changed, or the fuel pump could of stopped working.
If the ABS and brake light are coming on while driving, this is an indicator that it is time to get your brakes checked and replaced. If not, the brakes will wear out causing you to not be able to stop.