A Market Basket executive who began working at the company as a bagger at age 14 has been named its new president.