That sounds like a classic ignition control module failure. (Fails randomly when hot, then works again once cooled down.) The bad part is that those aren't cheap for our cars if you get a new one. (Salvage yard or Ed Morad is the way to go.)
Before you buy another one, though, take yours off and go have it tested at Auto Zone. If you don't know where it is, it's what your coils are mounted to on the passenger front of the engine. Unbolt and remove the coils, unbolt the control module, unplug, and it's free.