Effect of host-switching on the eco-evolutionary patterns of parasites