Could be a bad or intermittent Bargman plug on the trailer had one on my 3023 2004 , Bought a 6 foot molded Bargman and a bell box and spliced it in ,mounted the box to the trailer . Now I have two places to test at under the sink and at the bell box makes trouble shooting easier!
The Rip