They are interchangeable if of the same type. 1354E and 1354M, 1350E and 1350M. Without knowing about your truck, but newer trucks like 98+, front and rear shaft lengths are the exact same if on the same wheelbase. Trans don't matter, tcase shift type don't matter.
'01 XLT disguised as a '03 Fx4 Level II.