The rating is the easy half of the answer. A trailer never weighs its brochure dry weight (water is 8.34 lb a gallon, propane and batteries ride along, and so does your gear), and hundreds of models changed their published weights mid-run, so the model year decides as much as the model. Judged that way, with a 10% margin and 2 people aboard: 3727 of 5150 campers fit a Nissan Titan XD (Cummins diesel), and 11 more fit if you buy the right years.
The number that quietly binds is payload, 2,420 lb (2017 Titan XD Single Cab 4x2, 5.0L Cummins V8, SAE J2807 weight-distributing Class 4 hitch - the 12,640-lb row): tongue weight lands on the rear axle with your passengers and the hitch, so a vehicle often runs out of payload well before it runs out of rating.
Loaded estimate: dry weight + full fresh tank + propane, battery and gear for 2. Headroom is against the rating less 10%.
FIT IF YOU BUY THE RIGHT YEARS
These changed their published weights mid-run: some model years clear a Nissan Titan XD (Cummins diesel), others don't. A listing site treats them as one trailer. They aren't.
That depends on what you care about: bunks for the kids, build quality, budget, weight you'd rather not tow. Set your priorities as sliders and watch all of these re-rank around them, live, with your vehicle already filled in. Nothing gets hidden.