I would try disconnecting both batteries. Get a small jumper wire and connect the positive and negative terminals together and let that sit for an hour or overnight. This will discharge all capacitors in the truck. Reconnect and maybe clear all the codes with a scan tool.