Yes, ‘cowboy’ is indeed a profession for a person who herds cattle and performs other ranch-related jobs, mostly on North American ranches.