Trump has reshaped the GOP around MAGA, while Mamdani has emerged as a leading figure of the Democratic Party's progressive wing.