If camper receptacle is wired into trucks trailer tow wiring (if you have on your truck) There would be a relay in engine bay-these are often not connected from factory but in glove box for end user to plug in. (edit but sounds like camper wiring must be tied into truck on another source?)

If your asking to add a constant duty solenoid, my simple diagram

The solenoid has 2 main lugs, battery in- battery out when solenoid engaged. A small lead thats hot with ignition turns solenoid on. Solenoid will ether be grounded thru case (3 wire) or have a separate ground lug (4 wire).