Tuesday’s election, as the only statewide race in the country before November, is a crucial test for the growing backlash against the Trump Administration’s agenda.