Disconnect both battery cables and rub, them together. (This will clear the PCM memory) Then replace the Cam position sensor First, it's right by the thermostat housing and a 5 minute fix. Hook the cables back up and see if it fixed the problem. If there is still rough idle you have to replace the Crank Position Sensor. A little harder since it is mounted just above the starter so you have to move it aside to replace it!I keep getting a code P1417. "Cylinder 7 Reactivation Control Performance". The car will drive fine, then start to shake like a really bad rough idle. Does anyone know what could be the cause of this? Thanks in advance.