Massive Election Rallies Reflect Deep Divisions in Brazil

Hundreds of thousands demonstrate for and against controversial front-runner ahead of next week’s presidential vote

SÃO PAULO—Hundreds of thousands of Brazilians rallied for and against controversial front-runner Jair Bolsonaro ahead of next week’s presidential elections, in what some analysts called a worrying sign of society’s deep divisions.

Much of the country is now polarized between the corruption-racked leftist Workers’ Party and former army captain Mr. Bolsonaro, who is known for his offensive comments about women and gay people.

Women...