Republican candidates nationwide attacked Democratic opponents by associating them with the Democratic Socialists of America