
I have lived in the US for about 5 years and moved between an F-1 and an H1-B visa. While on an H1B, I moved employers and went through the usual process of the H1-B lottery.
I can answer questions around this to the best of my knowledge, but this should not be a substitute for legal advice from an immigration lawyer.