I'm only an A-Level student in physics, but I believe the ball will become polarised, and be held within the two magnets, the net force being, as you said, 0
provided the magnets have the same strength, and are strong enough to overcome the force of gravity
and the ball is placed perfectly between the magnets (in the exact centre)