so the 4.7 ho has both these sensors? Knock and detonation are the same. Knock or detonation is when the air/fuel mixture explodes with spark...but then a secondary explosion happens. It usually occurs when there is unburned fuel present in the chamber.
As far as i could find in the WJ service manual there are only 2 knock sensors on the HO engine. I could not find anything regarding detonation sensors.