Michigan has agreed to a five-year contract with Kyle Whittingham to replace fired and disgraced football coach Sherrone Moore, according to two people familiar with the situation.