Typically, J1 visas for teachers are given out for periods less than 3 years, but your host school can apply for a two-year extension. After this, you have to go back to your home country and you can't reapply immediately. After spending two years in your home country, you can reapply again for a J1 visa.