727 vs 904

If you change out a 727 to a 904 transmission can you use the same driveshaft?
I seem to remember one trans is shorter Thanks all

Yokes on the driveshafts are different between 904 and 727 transmissions.