Dynamical study of a chaotic predator-prey model with an omnivore