The U.S. Department of Justice has made efforts in the past to avoid public investigations of officials that could sway elections.

The FBI raid at U.S. Rep. Henry Cuellar’s Laredo dwelling made for a damning drama: a swarm of brokers descending upon his property with a warrant in hand, rising later with a computer and plastic bins and bags full of...