A failing cylinder head temperature sensor can cause erratic running or the engine to cut out entirely.