Those are great to add in the trailer harness. I have used at least fifty of them from different companies over the years. Simply plug and play. Dodge even sells a kit for your truck that plugs in that way.
This is the way the kit wires in.
Repair Safety Notice: This information is for general instructional purposes only. Vehicle repair can be dangerous. Verify all information, follow manufacturer service procedures, use proper tools and safety equipment, and consult a qualified repair shop when needed.