A prominent critic of U.S. President Donald Trump has won Brazil’s presidential election in a humiliating result for MAGA.