The 1895 Cup quarter-finals draw was conducted on BBC Radio Leeds on Friday morning.
Widnes – who beat Featherstone midweek – will host Dewsbury at the Halton Stadium as they aim to progress to the semi-finals.
York will welcome fellow Championship outfit Batley to Bootham Crescent.
The Leigh Sports Village will stage an intriguing tie between Leigh and Barrow.
And the 1895 Cup’s remaining League One team – Doncaster – will play host to Sheffield at the Keepmoat Stadium.
The quarter-finals will be played in the week starting June 24.
1895 Cup quater-finals draw:
Widnes Vikings v Dewsbury Rams
York City Knights v Batley Bulldogs
Leigh Centurions v Barrow Raiders
Doncaster v Sheffield Eagles