2002 Dodge Ram 1500 4x4 new engine P0340 code
Looking for a little bit of help please. I own a 2002 Dodge Ram 1500 4x4 that recently had the engine replaced (3k miles ago). The engine was order from powertrain and has not been a problem at all. I keep getting a code "P0340" when i run diagnostic. I replaced all of the sensors when I swapped the engine and checked it again today. Everything looked fine. This code started happening a couple of weeks ago so I can't necessarily tie it to when i replaced the engine. The truck will start SOMETIMES. But other times it will crank and crank and never start. Let it sit for about 10 minutes.....it starts. Not sure what's going on. I have even replaced the battery to make sure I have covered everything. Please help.



