2001 Dodge Stratus. Pretty new at the whole DIY car thing. Started to miss here and there really hard a few weeks ago. Happens maybe once every day or so. Check engine light comes on and stays on for a day. Now yesterday it was idling in the driveway and just conked out. Didn't start to run very hard or anything, just shut off. Immediately after that it started very hard. Otherwise it has and still fires right up on the first or second crank. Finally hooked it up to a code reader. p0340, camshaft position sensor.
I'm hoping it is just a bad sensor. Looks easy enough to swap out. Is it possible, if that doesn't work, it could be the crankshaft sensor? And i've heard of guys having to flash the computer after swapping out a cam sensor. If that ends up being the case am I pretty much stuck with a dead car until I can get someone over to flash it or will it at least run well enough to get it to a shop that can flash it(my cousins house)?