Floyd Mayweather Jr. said Wednesday he will come out of retirement to face UFC star Conor McGregor in a boxing match on Aug. 26.