Will this parts combination work for a magnum swap?

Can anybody tell me if the following combination of Parts would work for a swap into a 1964 Dodge Dart?

1995 Dodge Ram 2 wheel drive automatic transmission and complete wiring harness that had a 5.2 Magnum. And use a 5.9 magnum from a 1996 Dodge Ram that had four wheel drive.

Thanks in advance for any guidance you all can offer.