I seek out rural roads as much as possible, to minimize the risk... like maybe 3 cars or less per mile. Also have a hypothesis that if a road is curvy, drivers won't be able to text and drive as much compared to a straight road.
Also use the Garmin Varia radar / light combo. That's an amazing piece of tech for rural roads... wouldn't want to ride without it.
Aside from that, safety is one of the reasons I'm getting into gravel riding more... at least on gravel, cars usually aren't moving quite as fast.