The answers already given are correct in most situations, but there are cases when "few years' is used in which "few" is an adjective to emphasize rarity:
"Few years have had so much hot weather"
"Few years have been this profitable for the company"
In this context, "a few years" would be wrong.