Williams, 47, has signed a contract at Brisbane Road until the end of the season.
His only previous managerial experience was with Colchester, guiding them to 10th in the Championship after replacing Phil Parkinson but leaving last season as the Essex side slumped into a relegation battle that eventually saw them drop to League One.