Matthew Stafford agreed to a five-year contract extension expected to make him highest paid player in NFL history.