What you described sounds like a faulty crankshaft position sensor. Oftentimes, when they start to fail, heat adversely affects them causing a no start or stalling. Then, when they cool off, they work again.
Do me a favor and look through this link and let me know if it seems to mirror what you experience.
We have two things you can try. Since the sensor may or may not turn on the check engine light, we need to see if spark is lost to the plugs or if the RPM signal is lost.
If you have a live data scan tool, plug it in when it won't start and crank the engine. Check for an RPM signal. If there is none, there is a good chance it's the sensor.
Or, you can check for spark to the plugs. Here is a link that explains how to check:
If you determine the sensor is bad, here is a link that shows in general how one is replaced. You can use it as a guide to help.
The pics below show the directions and pics specific to your vehicle for removal and replacement.
Let me know if this helps.
See pics below.
Images (Click to enlarge)
Friday, March 19th, 2021 AT 8:39 PM