2005 Mustang GT Check Engine Light on after Error P0340
OK guys, I just purchased the car about 3 weeks ago now. On Friday the check engine light came on, I stopped by AutoZone and there was an error P0340 which I found to be Cam Position Sensor malfunction. I replaced the passenger side CPS, immediately after replacing it I began having problems with the car staying running when at an idle/under 1000rpm, if the car started to stall and I 'recovered' at the last chance the car would kinda 'put' along until I let off the gas and then began to accelerate again, which was confusing. While sitting at a stop light or slowing to make a turn the car would just stall, it is an Automatic. I returned to AutoZone and found out that the alternator was now bad, replaced that. I then replaced the driver side CPS as well.. The light is still on again, after driving about 100 miles. The battery charging indicator light intermittently pops up at start up and stays on for about 5-10 minutes and then shows back up every so often during the trip. The car also seems to be possibly misfiring. Any ideas as to what may still be wrong? Again, the car is 2005 Mustang GT Auto, stock.