Brazilian authorities are investigating thousands of reports of fraud and criminal interference in the country’s municipal elections, including one case in which the country’s most notorious prison gang allegedly funded the campaign of a city councillor in an effort to broaden its sphere of influence.