One area that a lot of folks ignore are the wires at the actual connection point, on the vehicle side, no one seals the entrance of the wires to the connector nor do they twist the wires and add a little solder so that the miniature screws actually clamp down instead of acting as a guillotine and severing the wires one by one with the shaking.
Not water proffing or sealing the connectors lets water and road grime in and this corrodes the copper wires, therefore creating resistance, the same goes for the trailer connector, some folks let it hang so that water and condensation run down into the plug.
Other problems stem from diconnecting or connecting by moving the connectors either side to side or up and down or both, doing this ensures that the female ends are spread out and the male ends are pinched in, creating intermitent contact or if pluging and unpluging with power on, a nice arching resistance track is created on the ground pin.
If the connectors are ok, check another favorite dumb thing that trailer manufacturers do, using what are called scotch connectors, these are used to join one wire to another, one small to one long, they work by placing one wire next to the long one and using pliers pinching both wires with metal inverted W that cuts through the insulation and some of the wires on both cables, then a plastic tab is closed on top, over time they corrode.
If the connectors are OK then there is a wiring problem, make sure that wires have not been pinched by clamps or rubbed by being loose undder zip ties, or rubbed against any metal, same goes for the pull vehicle.
navegator