We don't even know which engine this is but regardless, it's the camshaft position sensor that sits near the thermostat housing. The crankshaft position sensor is in the transmission bell housing on the passenger side. Also, diagnostic fault codes never say to replace parts. They only indicate the circuit or system that needs further diagnosis. The sensor itself will only be the cause of the problem about half of the time. It's good that you found the cause on your car but the least expensive and most effective way to solve a problem is by diagnosing it, not throwing parts at it.
Please consider a to help us answer more questions.
Wednesday, April 10th, 2013 AT 10:10 AM