1986 360 and trans

I'm looking at an 86 ramcharger 2 wheel drive with a 360 auto trans, could I put engine and trans in a 74 duster (I'll have to change oil pan) just wondering if that year engine is ok?
Thanks