Dunga will lead Brazil's bid for Olympic gold in football for a second time after being confirmed as coach Alexandre Gallo's replacement.