yes
(NH4)2SO4 and BaCl2 combined form a precipitate when Ba (2+) reacts with SO4 (2-).
BaSO4 forms a white precipitate in this equation because we can assume double-replacement activity between the compounds as follows:
(NH4)2SO4 + BaCl2 ---------> NH4Cl(aq) + BaSO4(s) (WHITE PRECIPITATION)
Ammonium Chloride is soluble (not precipitate) and Barium Sulfate is insoluble (precipitate).