Electrical short somewhere. Check your grounds. I have had an issue like this on my '05 GMC canyon and '00 Chevy S-10 in the trailer wiring harnesses. They rub on the frame or a screw or just corrode and cause bad things. If you have a trailer hitch, check the wiring, should be easy to see and fix if that is the problem.