Former President Donald J. Trump at a campaign rally at the New Holland Arena in Harrisburg, Pa., late last month.