I own a 2.7 Ecoboost, it has plenty of power and the tow mode programming for the 10 speed is great - I think they actually spent time towing with it to develop the tuning; it’s that good.
but. Horsepower is never the issue for towing, despite what testosterone wants to dictate. Chassis, chassis, chassis. Can you control the weight? Does the tail wag the dog? Does it stay planted? I towed a nearly identical weight camper with a 4 door truck rated for 6900 lbs. it was a dismal experience above 55 mph. It would certainly do it, and had half the horsepower of modern trucks. The problem was stability and chassis dynamics. experienced RVers will tend to advise moving to a 3/4 ton at 6000 lbs, and that is collective wisdom, NOT some metric of how an oem tries to determine tow capacity. So where I go then is your use case… local pulls? 3 hour pulls? 7 hours?
I do believe my 2018 f150 could handle a 6000 lb camper, no problem. But, from the towing I already was doing, it started with the STX package which I believe has stiffer suspension, and I replaced the rear shocks twice, finding that the stiffer-riding fox shocks, which are borderline uncomfortable unladen, were really better for weights like 4500 and up. That said, I wouldn’t want to pass 65 mph at that weight, and don’t know how well it could do that with 5 people, which tend to be top-heavy, plus luggage. Mine is an extended cab, full bed. I’ll also add that admittedly while I prefer an 18” wheel in general for this truck, it towed loads with more control with 20” wheels.
All to say: if you want a half ton, the f150 can be considered and I wouldn’t overlook the 2.7. But like all of them, it’s nearing the practical limit for multi-hour interstate travel, while probably being great for trips under a couple of hours. additionally, weight matters - the aluminum bodied fords are a little bit lighter, and the full steel vehicles with more weight may have an advantage. I’d look at the GM and yota offerings too. Rams use a softer, coil spring rear setup which makes for better daily driving but hurts payload, and frankly, IME leaf springs offer a more stable axle platform when loaded up.