Claudine Gay will become Harvard University’s 30th president, the school announced Thursday, ending a swift five-month search process that will elevate a person of color to lead America’s oldest academic institution for the first time in its history.