If the new job is also an assistant/associate professor after I-485 pending 180 days, no problem.
New job in a company/industry may raise a problem in responding the 485 RFE (if any). H1 transfer to industry is OK if you have US master's or doctor's degree.