So my 2010 3.5L has been starting to act weird. When driving at highway speeds around 65-70 mph my rpm gauge starts bouncing up and down and if I keep giving it gas it eventually drops the gauge to 0 yet the engine is still running. This randomly started happening one day and never knew what it could have been. When this happens the engine seems to be running off balance almost like a misfire but I don’t know what it could be. It has clean oil and oil filter. Also sometimes the car stalls on me when hitting a bump or when steering a tight corner but starts back up no problem, sometimes it might struggle a bit but it always starts back up. It gives me codes p0011 and p0336. The car still drives when the gauge drops to 0 but it really lacks power and shifts rough. But all I have to do is shut it off and turn it back on and rpm gauge starts working perfectly fine. HELP!