I agree
1 1987 Bronco II with a 2.9L V6 cuts out when it gets hot
this describes the TFI module failure perfectly
The TFI module (thick film integrated) ignition module is mounted to the back side of your distributor, this sucker controls all spark
It is a ***** to replace, usually you have to pull the distributor UNLESS you have the correct tool. there is a simple thumb wrench you can buy specially designed for getting the two bolts out that hold the TFI module to the distributor heat sink
Many 2.9L owners will actually carry a spare tfi module and the tool to change it in their truck... they fail quite often when they get old and get hot
However wefirst need to do some checking on your BII to ensure you are looking in the correct place.
Next time the truck does this, you need to listen for the fuel pumps to prime (yes you have two fuel pumps) try a seqarch for this, this topic was just covered yesterday!
Then once you can confirm your fuel pumps are turning on, then check for spark at the #1 plug.... if no spark and your fuel pumps are BOTH coming on then its 90% you need to replace the TFI module, you will need die-electric grease or lithium grease for the heat sink..
of course with the truck being a 97 other things come into play also, 1987 = 23 years ago, truck is likely 24 years old (sold in 86) so the wires under the hood coule use a good looking over, the battery cables and grounds likely need to be replaced