dakota tranny

hello everyone i have a 97 dakota 2wd 5.2 can anyone tell mw if the tranny that is originally in the truck is the only one that can go back in.some ppl have said that i can use one from a full size dodge pickup same year engine and also the durango same engine.thanks for any input.
Author: 64dakota