It is standard operating procedure (SOP) to supply a replacement frame when a frame breaks. It is also very much SOP to offer a replacement with the modern equivalent of whatever frame broke, even if it is not compatible with all the parts - forks and bottom bracket and brakes and whatever else. It is up to the customer to work out the details. Without any details given, I am hopeful that OP got a rim-brake compatible trek 520 frame and fork, so things should all bot together without too much hassle.
It is also totally SOP for the customer to be responsible for labour costs to get the thing built up. Most shops cover labour on bikes they sold for some period - usually one or two years. If the frame had broken in that time span then most shops would get you back out on the road for no charge, no questions asked. Nine years is beyond any reasonable expectation of free labour.
To the OP: Since you rode this bike enough that the frame broke, I assume it has been a good bike. You should get the new frame built up and keep riding it as-is, or until the replacement frame breaks.