both of your swaps are pretty easy, the wiring is the important part
the 4wd pans are all the same ifs and early solid axle having the rear sump
to swap, all you need to do is swap the 4wd oil pan and oil pickup tube to your 2wd engine, or vise versa