Dublin and Kerry will play their respective quarter-finals against the Round 4A qualifier winners as part of a double header at Croke Park on 2 August.
The GAA made the announcement along with confirmation of the venues and dates for the round 4A and 4B qualifiers.
4A Qualifiers - Saturday 25 July
Fermanagh v Westmeath, Kingspan Breffni Park, 5pm (Live on Sky Sports)
Kildare v Cork, Thurles, 7pm (Live on Sky Sports)
4B Qualifiers- Saturday, 1 August
Sligo v Tyrone, Croke Park, 4pm (Live on Sky Sports)
Donegal v Galway, Croke Park, 6pm (Live on Sky Sports)
All-Ireland Quarter finals - Sunday 2 August
Kerry v 4A winner, Croke Park, TBC (Live on RTÉ)
Dublin v 4A winner, Croke Park, TBC (Live on RTÉ)