Hey I have a JD 400 loader / backhoe that the 4.202 motor went bad. I want to install a 4.239 in it. will this motor fit?

I was told from a salvage yard to put the 4.239 in it.
The guy is stating that the 202,219,and 239 are all the exact blocks. with just the internals dif.

Thanks SKD91