Macclesfield marched into the northern semi-final of the LDV Vans Trophy for the first time in their history with a win over Conference side Cambridge.
Sandwith scored Macclesfield's second goal of the night
Clyde Wijnhard headed home in the 13th minute but Cambridge replied with Dave Bridges' header four minutes later.
Macclesfield's Kevin Sandwith restored their lead in the 34th minute and Wijnhard poked in a third.
A Paul Atkins header kept Cambridge's hopes alive until Jon Parkin hooked home another in the 61st minute.
Macclesfield: Fettis, Harsley, Morley, Teague, Sandwith, Bullock, Navarro, Whitaker, McIntyre (Swailes 55), Parkin, Wijnhard.
Subs Not Used: Deasy, Miles, Townson, Smart.
Goals: Wijnhard 12, Sandwith 34, Wijnhard 45, Parkin 61. Cambridge Utd: Howie, Morrison, Peters, Duncan (Onibuje 76), Gleeson (Robbins 76), Quinton, Hanlon, Bridges (Porter 76), Bunce, Westcarr, Atkins.
Subs Not Used: Davies, Behcet.
Booked: Quinton, Atkins.
Goals: Bridges 17, Atkins 47.
Ref: P Joslin (Nottinghamshire).