Gina Swoboda, an election lawyer endorsed by President Donald Trump, beat back an attempt to replace her by former state Rep.