Your visa (type d) is recognized by the Swiss authorities. You, therefore, should be able to transit at Zurich Airport under the condition that the allowed duration of your stay in the Schengen Area mentioned in your visa is not exhausted.
Kind regards
Border Policy Section / Stail
State Secretariat for Migration SEM