Many people think about this and forget MUCH of the minor stuff that turns out to be MAJOR.
The tranny, transfer case and drive shafts are not a big deal. Once they are in, you move forwards. You'll need a front axle, front drive shaft, all the front suspension (upper/lower controls arms, spindle, brakes (complete)). Then you will need to run wires to modules you don't have. Get the switches, module and relays.
And this is not all of it just yet. Different crossmember(s), radio bezel or modify the switch to fit somewhere else, etc etc etc....
Can it be done. Sure it can. With the older vehicles it was easier than todays vehicles.
Like the above posts, you will have enough invested to actually purchase another vehicle.