Hello I will help you with your question,
If you have manual locking hubs you only have to unlock the hubs and remove the rear driveshaft.
There are stub kits made to allow you to do this electrically but they are $600 - $1000 installed and I don't think you want to put that kind of money in this setup.
Let me know what I can do to help you with this
Several companies make a driveline disconnect that is installed into the rear driveline to electrically disconnect it from the transfercase. This saves the trouble of crawling under the truck.
One of those is the link here
Let me know how I can help you with this