I've have not worked on a 400.
However, looking at the part diagrams and the service manual the engine side coupling is not fastened to the shaft it simply floats on the middle gear output shaft. The drive shaft slides inside the couplings. The mounted distance between the engine and the front diff keeps the drive shaft in the right position.
The special nut part 29 retains the middle gear shaft and bearing in the crankcase. The coupling floats on that shaft outside of that nut.
My bad, I read that wrong, you are correct reogem, that coupling just floats and should only slide onto the engine output shaft, all held in place by the engine and front diff mounted solid, the front shaft pushes up against a spring at the diff end to provide some backlash pressure.
I had to replace the front shaft, the coupling and the engine output shaft on mine, all the splines were stripped.
Wayne from Oz.