I had the same problem with my '00 Merc mountaineer. P0340 kept coming up, even after replacing the cam sensor, wiring to the PCM, 2dry ign cables, sp plugs, head gaskets, swapped coils, geez... still came up every time I cleared it- it would run for the first trip, with no CEL turned on, then as soon as I started it, CEL is on and it is the P0340, again. Finally, I read on another forum that the problem may be the alternator. I just put a new one in about a month before the problems all started. How to diagnose: Charge up the battery. Clear out the codes. Run it until the P0340 shows. Bring it back home. Clear out the codes. Disconnect the alternator. Yes disconnect the alternator. Isolate the battery terminal at the alternator from any short circuits by wrapping it in elec tape. Take the car on the same trip. If the code does not set on, you found the problem. The voltage regulator is transmitting stray AC voltage that is being picked up by the cam sensor or the PCM and throwing the whole system off. Do the test in daylight with no loads on--no radio, no headlights, no blower. I didn't believe it was possible, but now I am a believer. -Mac