Resonance and chaotic trajectories in magnetic field reversed configuration