It turned out to be the trailer wiring that was shorting out. I pulled it all out and it's fixed. I bought the truck with the wiring already installed so the previous owner must have installed it wrong or one of the connectors or the box must have went bad.


Thanks for all the replies.