I always "reverse" these things to see what to do. You're trying to say "on the sundays of two years", so the sundays are being possessed by two years. That would give "two years' Sundays" because years is plural.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.
BellyShould it be two year's SundaysNo. The following are correct phrases, in my opinion.