I had this same problem, except mine threw CEL codes P0300,301,302,303,305 (misfires), and a few others on top of that!
It rarely happens now after being fixed and sometimes a battery reset will fix it up.
FYI...the fix was over 1.5 years and included new O2 sensors, new cats, new coils, and a...