The younger Williams, who's 6-foot-4, 195 pounds, isn't being signed to a contract, though, following his workout Tuesday for the Ravens.
The Ravens also worked out former Army quarterback Trent Steelman, who tried out for the team two years ago after going undrafted, and former West Georgia quarterback Austin Trainor, according to sources.
Steelman was evaluated as a wide receiver and special teams candidate.
None of the players are being signed, though, and the Ravens are expected to stick with reserve quarterbacks Bryn Renner and Jerry Lovelocke (Edmondson) heading into training camp.
Doug Williams was the Most Valuable Player for the Redskins in Super Bowl XXII when he passed for 340 yards and four touchdowns. A former Tampa Bay Buccaneers first-round draft pick, Williams now works for the Redskins as a personnel executive.
Steelman was offered a rookie contract by the Ravens two years ago, but was unable to accept due to his service commitment.
At Grambling, Williams passed for 3,923 yards, 30 touchdowns and 23 interceptions.
After playing at Tampa Catholic High School, Williams was initially a backup at Grambling before winning a starting job.
Williams played for his father at Grambling.
As a freshman, D.J. Williams passed for 1,102 yards, 14 touchdowns and seven interceptions.
As a sophomore, Williams missed two games with injuries to his ribs and hip and passed for 1,214 yards with five touchdowns and seven interceptions.
In 2013, Williams passed for 11 touchdowns and eight interceptions and 1,457 yards.
He was limited to five games and passed for just 150 yards, no touchdowns and an interception.
Steelman played wide receiver for Team USA football this summer and was named Most Valuable Player of the International Olympic Committee International Federation of American Football men's senior world championship.
Steelman was the starting quarterback for Army and set a record with 46 games and 32 consecutive starts, rushing for a school-record 45 touchdowns. He set the single-season school record with 17 rushing touchdowns.
Steelman was the only Army player to rush and pass for over 2,000 yards each in a single season.
Steelman also worked out for the New England Patriots this year.
Trainor was invited to attend the Tampa Bay Buccaneers, Oakland Raiders and the San Francisco 49ers' local prospect days and attended the Buffalo Bills' rookie minicamp. He worked out for the Green Bay Packers.
Trainor went undrafted last year.
Trainor began his career at Florida A&M where he was a starting quarterback before transferring to West Georgia.