Car runs, gets hot, then dies. Cant restart until cooler.

the car will start and run to operating temp, then it will die. Then I don't get any spark when I try to restart it.

my guess is there is a wire by the exhaust that is shorting when the car gets heated up... maybe the NSS wiring or one of the wires to the dizzy is close to the exhaust or heads.