Catalyzes the O-sulfation of tyrosine residues within acidic motifs of polypeptides, using 3'-phosphoadenylyl sulfate (PAPS) as cosubstrate. 3'-phosphoadenylyl sulfate + L-tyrosyl-[protein] = adenosine 3',5'-bisphosphate + H(+) + O-sulfo-L-tyrosine-[protein] Homodimer (PubMed:23481380). Can also form heterodimers with TPST1 (PubMed:25660941). Widely expressed. N-glycosylated. Substrate peptides must be flexible in order to adopt an L-shaped conformation in the deep binding cleft. Belongs to the protein sulfotransferase family.