What you describe sounds like a faulty crankshaft position sensor. When they begin to fail, often they are adversely affected by heat. Do me a favor. Take a look through this link and let me know if you feel it mirrors what you experience:
If you do, here is a link that explains in general how one is replaced:
Also, I attached the directions specific to this vehicle below. Let me know your thoughts or if you have other questions.
See pics below. Note: The last pic provides the relearn procedure.
Images (Click to make bigger)
Saturday, July 2nd, 2022 AT 11:50 PM