Massachusetts General Hospital has announced Dr. David Brown will become its new president, ending a four-month process to look for a new leader of the state’s largest hospital.