When my car gets hot, it cuts out and I hear a rattle or tapping noise.
It seems like a sensor problem to me. When the engine reaches operating temperature, the computer takes control with readings from the main sensors, and adjusts for the most efficient mixture. If one of these sensors are reading incorrectly, or not responding as fast as it should, the computer will act sporadically. I would suggest having a certified mechanic, like one from YourMechanic, run an inspection on your entire cooling system and use the engine’s live data to diagnose the issue.
Our certified mechanics come to you ・Backed by 12-month, 12,000-mile guarantee・Fair and transparent pricing