Upvote:1
You do not Need a visa for either country. Like you wrote Switzerland is the only Schengen country, and Ireland is the only CTA country.
At Dublin, even when using the transit corridor, you will be checked by immigration, but you'll just present the passport and onward Boarding pass