It looks to me like your trailer connector/wiring harness came as a fully manufactured component. I say this because the wires appear to be soldered or crimped to the blades of the connector. If you bought a Pollack connector like this one
you'll need to cut the wires from the old connector and attach them to the new one with the screws on the blades. Then you'll have to re-seal the back of the connector with electrical tape or something.
If your new connector already has the wiring attached, then you'll need to wire them in wherever your current wiring runs to. Or, if the wires aren't long enough, you'll probably have to just splice the two wiring harnesses together using butt connectors and then seal it with electrical tape.
1988 Coleman Sequoia - popup (1987-2007)
2012 Roo19 - hybid (2012-2015)
2016 Mini Lite 2503S - tt (2015 - ???)
2011 Traverse LT, 3.6L, FWD
2009 Silverado Ext Cab, 5.3L, 4x4, 3.73
2016 Silverado 2500HD Dbl Cab, 6.0L 4x4, 4.10