Investors searching for bright spots in last week’s global stock tumble found one in Brazil.

Assets in the struggling South American country surged early in the week following a first round of the presidential election that handed a win to leading candidate Jair Bolsonaro. His economic adviser, Paulo Guedes, has the market betting that Brazil will soon emerge from a long economic slump.

Following...