Donald Trump speaks at a National Rifle Association convention in Louisville, Ky., in May. The pro-gun group endorsed the Republican for president and spent more than $21 million in ads on his behalf.