They are a bit of both, Prey because they could get hunted by big cats and crocodiles and humans and also predators as they eat bird eggs, and kill smaller mammals like small monkeys
No but the predator will be having a very bad day. Its the basic food chain. If a lion gets killed by a Hyena it dose not make the hyena the preditor since that was a lucky kill, where in normal...
Some animals are both predators and prey for other nastier predators, A good example is the Grizzly Bear. It is now a top predator, but was once prey for the Short Faced Bear, an animal that died out...