"The Voodoo Planet"
The crew of the Enterprise becomes embroiled in a society with a dictator and his slaves. When they try to take him down, they find they are afflicted by a strange form of voodoo that is used by the slave people of this world.