This rash has been present for approximately (two) years.

two is that an an adjective?

Yes, it's an adjective here.