The knock sensor is located below the intake manifold so it must be removed before you will be able to replace it.
Here is a guide that will give you an idea of what you are in for when removing the intake manifold.
Install intake manifold bolts and gradually tighten in sequence shown in (Fig. 141) until a torque of 28 Nm (250 inch lbs.) is obtained.
Install knock sensor. Tighten knock sensor to 10 Nm (88.5 in.lbs.) torque. Over or under tightening effects knock sensor performance, possibly causing improper spark control.
Here are some diagrams (Below) that will show you how to do the repair on your car.
Please let us know if you need anything else to get the problem fixed.
Images (Click to enlarge)
Thursday, November 16th, 2017 AT 1:48 PM