Your description sounds like an issue with ignition. For example, a bad coil pack that allows a misfire and starts working again. A misfire does affect the emissions, but an additional code should have been present, too.
At this point, this is what I would do. If you have a live data scanner, you need to have a helper hold and watch the scanner to see if there is a temporary cylinder misfire. Also, if you have freeze frame capability on the scanner, see if anything shows up.
Do me a favor, if you have a live data scanner, let me know what the short term fuel trims are.
One last thing. You mentioned that these are the two codes which returned after you cleared them. What other codes were present originally?
Tuesday, November 12th, 2019 AT 6:25 PM