Do you need a yellow fever vaccination if you have been to Zambia and are traveling to South Africa?

For safety yes! As a seafarer it is one of our requirement when travelling abroad and it is good for 10 years. Prevention is better than cure.