I asked because I hardly ever have any luck with sensors from there. If there is alot of miles on the engine the chain could be stretched and throwing of the cam timing. It's not likely though, I've seen many of these engines with over 200k on the original chain and gears that are fine. If the wiring and the plug checks out go exchange the sensor for another one and see what happens.
1985 F250 Ex-Cab 6.9 C6
2002 Dodge Caravan