Hi,
When it stalls are won't restart, we need to see if you lost fuel or ignition spark to the engine. One is likely missing.
Do this. When it won't restart, see if it will start if you use starting fluid. If it does and then stalls, we know it is fuel related. If there is no change, I need you to check if there is spark to the plugs.
Here is a link that explains how that is done:
https://www.2carpros.com/articles/how-to-check-for-ignition-spark
I realize you replaced several things. However, we could have a failing relay or another simple component that is failing until it cools. Also, let me know if you have access to a live data scan tool. I would like to know if the coolant temperature sensor is providing a proper signal and the short-term fuel trims if possible. If you have been able to retrieve diagnostic trouble codes, let me know what they are.
Let me know.
Joe
SPONSORED LINKS
Thursday, May 25th, 2023 AT 8:41 PM