there are a lot of variables in that question. If you are going to run the GM 5.3 v8, which transmission do you plan to run? I don't know for sure what transfer case the 83 year model runs, but if you have access to a split case transfer case froum something like a 86/87 year model you will be good. You will have to use an adapter to mate a GM transmission with the toyota transfer case if you go that route.
Use the search tool on this board to search for engine swap threads, also spend some time on here just wading through all the various posts, there are many posts with similiar questions.
See the clubhouse tab at the top of this screen and go there to find the local lc club in your area and post up there to see if any locals have a V-8 swap truck you can check out, ride in, ask questions about and look at.
A common swap is the 5.3 v8 with matching GM 4l60E automatic transmission and then using a adapter from advance adapters to mate wiith a toyota split case transfer case. Also some folks use howell for their engine harness and PCM programming.
Can you do the work yourself? If you buy the engine from a salvage yard get everthing under the hood you possibly can, air filter housing, accessories on the engine, radiator fans, emissions crap, wiring harness for engine and transmission, PCM, etc.
Also you need to understand if you have to pass emissions testing with this truck.