Tim McKyer -- a three-time Super Bowl champion -- reached a deal with prosecutors on Friday in order to close out his hit-and-run case, TMZ Sports has learned.
Court records show the former San Francisco 49ers defensive back agreed to enter into a pretrial diversion program ... and in exchange, officials said they'd drop the charges against him if he successfully completed it.
According to court documents, in order to accomplish that ... McKyer must do 16 hours of community service, take four hours of defensive driving courses, pay $100 and keep his nose clean.