The D-backs and Zac Gallen have agreed to a one-year deal pending a physical that would bring the right-hander back to Arizona, sources told MLB.com.