The races are being closely watched as a measure of Trump’s continued influence over the Republican Party ahead of the 2026 midterm elections.