do you get a code?...pull up the passenger side carpet and look at the metal box covering the ecu...you can see through a small window...count the codes...it will pause between codes if there is more than one
other than that sounds like the rotor in the distributor maybe going or a bad main relay (gets hot and will short)
does it start back up again?