Switching Interacting Particle Systems: Scaling Limits, Uphill Diffusion and Boundary Layer