Attorney John Deaton will face off against two Republican candidates in a Massachusetts primary on Sept. 3.