To connect a 4-pin trailer connector to a 7-pin connector, you first need to find a wiring diagram for both connectors and then get a multimeter. Then just plug in the wires that match the pins of the other connector, and then you can measure to make sure the wiring is correct.