Dynamical evolution of a cometary swarm in the outer planetary region