The 1973 Ford Ranger is a much smaller vehicle than an F-100. The Ranger's frame, engine bay, and overall dimensions are considerably smaller. Even if you could physically cram the engine in, you'd encounter insurmountable problems with:
* Engine bay size: The 302 is simply too large for the Ranger's engine compartment.
* Frame size and strength: The Ranger's frame isn't designed to handle the weight and torque of a 302.
* Transmission and drivetrain: The F-100's transmission and associated components won't be compatible with the Ranger's drivetrain.
* Exhaust system: Routing the exhaust would be a major challenge.
* Wiring harness: The wiring harness for the F-100's 302 wouldn't be compatible with the Ranger's system.
In short, while some engine swaps are possible, this one is far too impractical and would require an extensive and likely cost-prohibitive amount of custom fabrication. It would be easier and more cost-effective to find a suitable engine for the Ranger, or even swap in a more powerful engine that's already somewhat compatible.