No... You need a physical WD hitch setup if you plan on towing a #4500 TT with even a 2022 Ranger.. The built in sway control is only when you are totally out of control and if your truck ever gets into that mode, you are not doing well...
Here is what it says about that feature in my 13 F150's owners manual.. (yes I have it in PDF format. :) )
TRAILER SWAY CONTROL (IF EQUIPPED)
WARNING: Turning off trailer sway control increases the risk of
loss of vehicle control, serious injury or death. Ford does not
recommend disabling this feature except in situations where speed
reduction may be detrimental (such as hill climbing), the driver has
significant trailer towing experience, and can control trailer sway and
maintain safe operation.
Note: This feature does not prevent trailer sway, but reduces it once it
begins.
Note: This feature cannot stop all trailers from swaying.
Note: In some cases, if vehicle speed is too high, the system may turn
on multiple times, gradually reducing vehicle speed.
This feature applies your vehicle brakes at individual wheels and, if
necessary, reduces engine power. If the trailer begins to sway, the
stability control light flashes. The first thing to do is slow your vehicle
down, then pull safely to the side of the road and check for proper
tongue load and trailer load distribution. See the Load Carrying chapter
for specific loading information.
So, basically what this is saying is if you experience you don't have your rig setup correctly or at all.
You will see a message flash on your screen when it's being applied, which I have never seen on my rig.
Anyway, get a WD hitch setup and rely on the built in sway control in case of dire emergency.. Not as a replacement.
Good luck! Mitch