This type of connector is normally found on utvs atvs and trailers that do not have their own braking system. How to wire a 2 pin plug how to connect a 2 pin plug.

9a9e 3 Hole Plug Wiring Diagram Wiring Library
Two pin plug wiring diagram. Note that this type of 4 pin connector is less common that 4 pin flat connector. One prong connects to the hot wire which is the live circuit wire and one connects to the neutral wire which is the one that completes the electrical circuit. If your vehicle is not equipped with a working trailer wiring harness there are a number of different solutions to provide the perfect fit for your specific vehicle. They can be purchased as a standalone plug for the truck or trailer or as a complete loop with both the plug and the socket included. Some 120 volt plugs have a third prong for grounding the appliances they serve and plugs for 240 volt appliances which require two hot wires have four prongs. Below is the generic schematic of how the wiring goes.
In the trailer wiring diagram and connector application chart below use the first 5 pins and ignore the rest. Above we have describes the main types of trailer wiring diagrams. Complete with a color coded trailer wiring diagram for each plug type this guide walks through various trailer wiring installation solution including custom wiring splice in wiring and replacement wiring. 4 5 way flat connector wiring diagrams 4 way and 5 way flat connectors use color coded wires and are available in a variety of lengths. Use the 7 pin connector anyway see below and just leave out the last 2 wires. 4 pin trailer wiring diagram.
If your truck has a built in 7 pin socket but you only need 5 of the pins.