Driveshaft lengh

In my duster I replaced a 6 cyl with a 360 engine and trans from a 2 wheel drive ramcharger, the ramcharger drive shaft fits,the front of the driveshaft goes in 4" into the trans is that enough?
Thanks