The Hershey Company has appointed David Shedlarz to its board of directors.