1964 plymouth valiant Slant six to 340

64 Val has 106" wheelbase. 67 and newer 2 doors went to 108".
Ball and trunnion on trans in 64.
IIRC the early shaft is only 2-3/4" diameter, newer are 3".
A 66 shaft could work because it's the same wheelbase and u-joint.

If it was me I'd get a new one made or a good longer one shortened. I like to do things once and move on without having to do it again later.
Front wheels were moved forward. The drive train is in the same relationship. He will need a different trans, since the /6 trans will not work with a 340. Did it too many times. Diameter of the driveshaft is not the limiting factor. It is the u-joint, you just need good ones.