Catalyzes the transfer of sulfate to position 4 of non-reducing N-acetylgalactosamine (GalNAc) residue of chondroitin. n 3'-phosphoadenylyl sulfate + chondroitin beta-D-glucuronate = n adenosine 3',5'-bisphosphate + chondroitin 4'-sulfate + n H(+) Highly expressed in the head and tail of hermaphrodites, in particular in amphid and phasmid sheath cells. The tm576 deletion mutant is lethal (PubMed:27645998). The ok625 deletion mutant has reduced levels of 4-O-sulfated disaccharides, but increased levels of 6-O-sulfated disaccharides (PubMed:27645998, PubMed:27703236). Increased mortality in response to oxidative stress (PubMed:27645998). Belongs to the sulfotransferase 2 family.