While some older models *might* have been flat towable with specific modifications (like disconnecting the driveshaft), this is generally not recommended without consulting a detailed owner's manual and potentially a qualified mechanic. Even then, the risk of damage remains substantial.
Always check your specific Ford Ranger's owner's manual for the manufacturer's recommendations on towing. The manual will clearly state whether flat towing is permitted and any required procedures.