There isn't a single compound word for "boy that took care of cows." However, there are a few options you could use:
* Cowherd: The most common term for someone who herds cows.
* Cowboy: While primarily associated with the American West, cowboys also often took care of cattle.
* Cowman: A less common term for a man who works with cows.
* Dairyman: Refers to someone who works in the dairy industry, which often includes taking care of cows.
You could also use descriptive phrases like "cow-tending boy" or "boy who cared for cows."
The best option depends on the context and the tone you want to convey.