Rangers have been drawn away against Dundee United in the fifth round of the William Hill Scottish Cup.