Connect a separate ground to the tail light brake housing on both sides and see if you have the problem goes away. I would also connect a ground from the bed to the chassis. The bed normally grounds through the 8 bed bolts, but I would add one just to be sure. Can't ever have enough grounds......
.