GM Repair Problems? Ask GM Repair Expert Now.
A bad battery can definitely calls all of those codes to set, if it is replace it. Also if you are mechanically inclined behind the glove box there is a fuse block at the top of it you'll see a blue and a grey connector if you see them and can remove them look for corrosion if corrosion is found you have a water leak coming in from behind the dashboard shorting out the fuse block. I'd start there or please accept a live phone so I can go over absolutely everything with you. Please give positive rating. Thanks
Unfortunately there is absolutely no way I can be sure what wrong with your vehicle unless you had a scan tool that can read Live engine data and have fuel system and ignition system testing equipment they're all just absolutely too many things that can go wrong because you'll be able to do this for me to give you a direct answer my best guess would be a module killing your high-speed or low-speed communication network and causing a vehicle to shut down while driving but to all the only way to be sure is to have the vehicle test to confirm things
There is a recall for your truck that may fix the air bad light, take it to a Gm dealer and they'll fix that no charge. The only code is worry about is the p1516 very common have the throttle body replaced with a GM parts and the engine control module reprogrammed. The parts is close to $300 and labor at the dealer is $250 to $350. I'd worry about the p0300 later if it resets. Thanks