A Study of Infectious Disease Models with Switching