92 accord randomly stopped running

First thing I would try is to disconnect the battery for a couple of minutes, then reconnect it.
It may just need an UCU reset.

Check your fuses and test to see if the ignition is passing power in the normal run position.
The dying immediately and the window thing makes me think there is a loss of power somewhere.

Gauges work in the run position?
Lights?
blinkers and such?