I answered this question elsewhere where you had posted it to me, asking I how I did it. You have to unbolt the intake manifold, and move it back away from the head. The sensor is held in with one bolt, and with the bolt out - you will be able to just pull the sensor out. Its got a longish snot, so its end can sense the flat spot on the end of the camshaft spinning past.
Im curious why you need to replace it. Does the engine still run okay?