Disconnect the battery. Jack it up safely, then set it properly on jack stands. Be sure that the vehicle is stable and secure and it's safe to get under it. Then remove the shifter, the wiring, and unbolt the transmission from underneath the truck. Reverse the procedure to reinstall it. Might be a good idea to inspect or replace the chutch while the transmission is out.