You can remember the meaning of 牧师 with this easy mnemonic:
The chaplain is a shepherd (牧) of our students and is a teacher (师) to all.
Using mnemonics to remember the meaning of Chinese characters like can have an enormous impact on how long to learn Mandarin it takes.