score:2
The Canadian transit visa is fine for your trip. It will permit you to transit landside in Canada for a stay of up to 48 hours each entry. You are allowed to leave the airport or even stay overnight if you need to do so.
Be sure that you apply for a multiple entry visa. If your return itinerary takes you through Canada, you will need the visa again, even if you do not pass through Canadian immigration (for international transfers to the US preclearance, transiting passengers now usually skip Canadian immigration).