You can remember the meaning of 牛仔 with this easy mnemonic:
That cowboy has a lot of cows (牛) under his care considering his young (仔) age.
Using mnemonics to remember the meaning of Chinese characters like can have an enormous impact on how long to learn Mandarin it takes.