Donald Trump built a broad coalition to become the first president since Grover Cleveland to win non-consecutive terms.