here is the wire that run down the back that can melt and short out on the exhaust, which kills the engine instantly dead like yours (crank position sensor)
If you were running hot, that could have been to finally melt thru the wire
I have already had to replace the wire from it melting on the exhaust, you can see the black wire loom melted towards the bottom. This is a 98 you probably have similiar