Hello! It's most possible a bad ground, most of the time the ground is a white wire bolted to the frame under the back of the truck, loose or rust bad connection.Thanks
ASE Certified Technician
24yr gm Drivability & Electrical