In vitro, catalyzes the transfer of a galactose residue from UDP-galactose onto GalNAc and GlcNAc structures. . This is the function of GLT8D1 (glycosyltransferase 8 domain containing 1, ENSG00000016864).