BALTIMORE (Reuters) - The Baltimore Ravens have signed former Miami Dolphins running back Ricky Williams to provide backup support, the National Football League team said on its website on Monday.

Terms of the deal, which is subject to Williams completing a physical, were not announced, but media reports indicated the former Heisman Trophy winner will earn $4 million over two years.

Williams, 34, spent seven sometimes controversial seasons with the Dolphins, earning Pro Bowl honors in 2002 when he rushed for 1,853 yards.

He retired from football in 2004 but returned the next season. He was suspended for the 2006 season for violating the NFL drug policy and played in only one game in 2007.

Williams saw more action the next three years, gaining 659 yards in 2008, 1,121 in 2009 and 673 last season while starting in 10 of 48 games, none in 2010.

(Corrects Williams' first name)

(Reporting by Gene Cherry in Raleigh, North Carolina; Editing by Rex Gowar)