Gloria Gaynor has donated thousands of dollars to Republican candidates in recent years, records show.