I am having a similar issue. My car had the codes p0340 and p0344 so I went to Pepboys and bought a new camshaft sensor made by BWD. I installed it while the negative was removed from the battery. When I started it the check engine light was off and all seemed fine. However, once i reved the motor over 2000 RPM the check engine light came back on.

I checked the code and this time it only returned the p0344 code. I checked the wires and they are good to go. I have an OEM Mopar part on its way so we will see if that resolves the issue. I have looked for the crankshaft sensor but it is hard to find. I was told it was under the starter when looking from above yet the service manual says it's on the other side of the motor above the oil pan. I have a 2003 PT. By the way I didn't use a torque wrench to install the new sensor,

does anyone think that may be an issue?