A couple of thousand people gathered on Paulista Avenue, one of the city's main locations, in a demonstration that Mr. Bolsonaro, before the event, called “an act for freedom, for justice".