Even if the axle *seems* to bolt up, the differences in width could lead to serious drivetrain issues and binding, potentially causing damage to the axles, transfer case, or other components. You'd likely need to modify the frame, which is not recommended for safety reasons.
Always check the specific axle codes (found on the axle housing itself) for both vehicles to confirm compatibility. Even with the same codes, there's still a risk of incompatibility due to variations within model years.