I had a similar problem. Truck would misfire and rough idle after engine was warm. Same knock sensor code. Sputtering and exhaust manifold was glowing bright orange.
I had a distributor bearing that failed in the distributor rotor. When engine was cool, the rotor was moving in all the thick grease so no problem. Once engine warmed up, the grease thinned out and was rotating in all the metal shavings causing it to lock up. The truck was surging, cutting off, rough idle, extreme heat in exhaust.
Mechanic said the rotor looked like a rats nest of metal shavings from the failed bearings and washer.
Replaced distributor cap, distributor rotor, spark plugs, and wires. ($1,100.00 total) Now I need to replace the valve cover gaskets since the intense heat melted the gasket and is causing a minor oil leak. ($600.00)
Heat was caused from the misfiring, which opened the injectors, causing them to dump huge loads of fuel into the cylinder (ten times as much according to the computer measuring injector opening time). All that gas caused the temperature to skyrocket. Fortunately, I did not ruin the catalytic converters with the heat.
Everything is fine now. Saving money to get gaskets changed out.
I have head of the engine coolant sensor causing this issue as well.
Sunday, January 5th, 2020 AT 1:35 PM