to be clear the 1991-newer ranger is different from broncoII, since the 4.0 was an option for the rangers, so the wiring/fuel system is plug & play. phatphoto's swap was easier than yours would be
you need to take the harbness out of yours, the harness out of your donor rig, splice/hyrbidize them, re-install the harness into your truck, the fuel system is a similar step too
the dash needs to be swapped if you want your speedo to work
the only "direct swap" part of this is the bellhousing bolt pattern is the same, and the 4.0 motor mounts will bolt to the BII frame
if you ask me it is waaaaaay too much work for 7% more powert, and 11% more torque
as ut410 said if you aren't super swap savvy. its not cut and dried, one of our other (less swap savvy) aquaintences took 5 weeks, and started 11 threads asking how to solve different issues he encountered.
put a stock engine back in, you will be on the road after an afternoon. i'd lend a hand if you needed even
my $.02