Arduino Crashes and Reboots when stepper motor and pump are running

You need to make a pencil drawing showing how you have everything connected and post a photo of the drawing.

Your symptoms suggest that something is causing the voltage to the Arduino to fall which causes the Arduino to reset.

...R