5.7 Hemi swap transmission question

I'm gearing up (slowly) to swap out my 225 slant six Clifford set-up for a 5.7 hemi and automatic transmission with fuel injection from a yet-to find, donar car or truck. My question: If I were find a complete engine and transmission from a truck, like a two-wheel-drive 2005-8 Dodge Ram, would that transmision swap ok into my duster or are those transmissions only best for.......trucks? Specifically, would fitting the truck transmision into my Duster be a different issue than if it was one pulled from a car? And, are those truck transmissions geared different?
Thanks to anyone that knows the answer to this.