Not sure if I can but I will try to explain your casting codes:
The “T” at the end of the engine casting code confirms the engine was cast in 1950, so that part is correct.
The confusion comes from comparing two different numbering systems. The charts you’re looking at are for
tractor/chassis serial numbers, not
engine serial numbers. International Harvester grouped the M, MD, MDV, and MV tractor serial numbers together to track overall tractor production.
Engine serial numbers were tracked separately by engine type. Gasoline Model M engines used the prefix
FBKM, while diesel engines used
FDBKM. IH did this so they could keep separate production records for gas and diesel engines. Because of that, the engine serial numbers will not match or closely follow the tractor serial numbers.
So if your tractor serial number indicates a 1950 production year, that would correctly match both the engine casting code and the engine serial number. Since only about 18,000 MD tractors were produced, the diesel engine serial numbers fall into a much smaller range than the overall tractor serial numbers, which is why you were getting 1940. BTW, MD's weren't in production until 1941.
I don't really know how to explain it otherwise, the internet helped me word this stuff above. It's just hard for me to explain over the internet, sorry.

Maybe send me more messages if you don't understand.
Also FWIW casting codes on Farmall tractors weren't used extensively until 1942ish.