There is generally no set limit to the number of times you can switch visas as long as you meet the eligibility criteria for the visa you are switching to.