Inherited from Old Spanish vacariza, from Late Latin vaccāricia, from Latin vacca (“cow”). By surface analysis, vaca + -eriza. Compare Portuguese Vacariça, a toponym. First attested in the tenth century.
Practice speaking and memorizing "vaqueriza" and many other words and sentences in Spanish.