You need to tell the second school to apply H-1B for your transfer. As soon as you get the recipt from INS, you are legal to work in the new school. You need to see if your new boss would like to give you 1 year H-1 or 3 years H-1.