The visitors took the lead after 30 minutes of the League One clash at Victoria Road when home keeper Tony Roberts got nowhere near Scott Donnelly’s cross and Anthony Charles headed into the empty net.
Charles turned from hero to villain five minutes before the break though, literally handing the Daggers the chance to get back into the game by handling the ball. Mark Arber stroked home the resulting penalty.
The goals continued after the break. The second half was just seven minutes old when Andy Sandell sent a terrific volley into the back of the net from the edge of the box. But the hosts levelled again immediately as on-loan Chelsea youngster Seth Ofori-Twumasi drilled a shot past Mikhael Jaimez-Ruiz.
Striker Marvin Morgan put the Shots ahead once more on the hour mark when he turned Will Antwi before prodding home.
Marlon Jackson notched the fourth goal after 77 minutes, capitalising on an error from Jamie Day to fire past Roberts at the third attempt and Louie Soares sewed up victory in the final seconds with a shot into the bottom corner.