3 to 4,000 dollars for someone else to do the work may not be unreasonable, but seems a bit more than I would suspect for a cracked piston. They are probably talking a complete rebuild, which could cost some dollars. The key is: there is no reason you couldn't overhaul it yourself and save a bundle of money. Never rebuilt a motor? No problem. These diesels are the most basic engines in the world. The problem will be parts availability. If parts are not available, I would find a machine shop to weld the piston - it can be done. The tractor would probably last for years. Also remember that gears, rings, seals and many other components can be purchased from many sources other than dealers.
The limiting factor to fixing any engine is thinking it's not practical, but the reality is that if you check everything you do twice while you do it, you won't be unhappy. Remember that at the turn of the century, guys like us were building cars in our backyards, casting our own engine components, designing steering arms and trying to figure out how to make a tractor, not fix one. And this would be without the tools commonly available to us today.
In the sixties, we used to make head gaskets out of copper sheets for British motorcycles. We would heat them cherry red and plunge them into cold water. Rather than annealing them, it would make the copper super soft and make a great head gasket. I have known people who have abandoned a tractor because a head gasket wasn't available, but copper sheets can be purchased almost anywhere. Sure, it would take a bit of careful work to make one, but it can be done.
You may be able to buy a used piston from one of the Japanese tractor bone yards here in North America. There are a number of good people trying to meet your needs on the internet. Take your time, find what you need and share your experience on the forum. There are many people willing to help when they can.