It sounds like you have a faulty crankshaft position sensor. When they begin to fail, they are adversely affected by heat. Heat causes expansion. The wire winding within the sensor expands and causes a disconnect, shutting off the engine. Once it cools, the connection is once again complete, and the vehicle runs.
Take a look through this link and let us know if the link's description mirrors what you are experiencing.
https://www.2carpros.com/articles/symptoms-of-a-bad-crankshaft-sensor
If it does, this is what I would replace. Here is a link that explains in general how it is done:
https://www.2carpros.com/articles/crankshaft-angle-sensor-replacement
On this vehicle, the harmonic balancer will need to be removed. If you look below, I have attached the directions specific to this vehicle. I can't guarantee it without further testing, but I am very confident this is the problem.
Let us know if this helps or if you have other questions.
Take care,
joe
See pics below.
Images (Click to make bigger)
Friday, May 2nd, 2025 AT 9:03 PM