Former All-Star point guard Maurice Cheeks is getting his third shot as an NBA head coach.

Cheeks, an assistant in Oklahoma City for the past four seasons, on Monday formally agreed to take over as coach of the Detroit Pistons as the replacement for the ousted Lawrence Frank, according to sources close to the process.

ESPN.com reported on June 2 that a third interview in Detroit, after two previous meetings with Pistons owner Tom Gores, appeared to nudge him into the lead for the job ahead of co-finalist Nate McMillan.

Cheeks has posted a career mark of 284-286 in stints coaching the Philadelphia 76ers and Portland Trail Blazers, with three first-round exits in his six full seasons as a head coach.

Besides former Portland and Seattle coach McMillan, Detroit also interviewed Atlanta Hawks coach Larry Drew, former Phoenix Suns interim coach Lindsey Hunter, San Antonio Spurs assistant coach Mike Budenholzer and New York Knicks assistant Darrell Walker.