On my 2016 PX2 Ford Ranger, I purchased the Ford Trailer stability module myself, and mounted the module under the passenger seat, where it really was just plug it in and screw it down with the supplied screws -- Later the module was switched on by my Ford dealer, with my Ranger's first service.
How I ended up doing this myself, was I wanted a high clearance tow bar as I was getting a Dual Cab Chassis and mounting service body canopy setup, and I didn't want the stupid low clearance stealing factory Tow Bar, I ended up buying a high clearance tow bar and mounting it myself as a part of making the service body, then purchasing the wiring kit and trailer sway control components separately.
If you have purchased a complete factory setup, it may of been all included, but you will need to check with your Ford dealer.
A Youtube links on how it works
https://youtu.be/K0WFn-JxHbchttps://youtu.be/MZkHm4RYtDAhttps://youtu.be/RBn0EYIu7ig