I have a 2013 Sierra with the 5.3 and it sometimes does that and will die if I try to accelerate. I turn it off and it starts back and runs fine. I put a new fuel cap on it, and thought that fixed it, but it didn't, I'm now suspecting that the purge valve is sometimes leaking. I had one go bad on my 2015 Cadillac SRX and it acted similar to that, and a new purge valve fixed it. I'm going to test my valve before replacing it. You can search how to test the purge valve and get great instructions. It's simple and easy to test. I do not get the purge valve code on my truck, but sometimes it says to tighten the fuel cap. I don't know if they throw a code till they're really bad. Just my thoughts, I don't like to throw money at a problem just to see if it does it. I try to troubleshoot first.