The Dabbers went into the half-time break 1-0 up thanks to a goal from Caspar Hughes, and Jason Gilchrist levelled the score in the 72 minute.
Sean Cooke's goal just eight minutes later, and late goals from veteran Ricardo Fuller and Luke Walsh saw the side claim the victory at Mariners Park.
Only six points now separate the top five sides.
In the play-offs, Basford United and FC United of Manchester shared the points with a 1-1 draw, with goals from Kane Richards and Paul Charlie Ennis respectively.
Lancaster City are now just two points from the top spot after claiming a 3-0 victory over Radcliffe. Charlie Bailey, Bradley Carsley and David Norris with the goals for the Dolly Blues. Radcliffe are now without a win in their last nine league games.
Warrington’s home fixture against Matlock Town fell to postponement on Sunday due to the weather.
Scarborough Athletic have jumped to seventh place following a 1-0 victory over Hyde United, with a goal from Kieran Glynn enough to claim the three points on the day.
Stalybridge Celtic drew 1-1 with Stafford Rangers, while Buxton and Gainsborough drew 3-3.
Morpeth Town claimed an impressive 5-1 victory over Atherton Collieries, with goals from Liam Noble, Carl Finnigan, Joe Walton (2) and Jack Foalle.
Ashton United defeated Witton Albion 3-1, while Whitby also beat Mickleover Sports the same scoreline.
Lastly, Bamber Bridge claimed a 2-1 triumph over Grantham Town.