Republican Ted Gaines wins Senate seat