Numerical evidence for global bifurcations leading to switching phenomena in long Josephson junctions