oon before OPT expires, at the same time, start NIW I-140 and 485 application. The worst case is that you have to use the EAD of your 485 and take the risk of NIW denial and losing your status.
Your background sounds a high chance of NIW approval. Hire a lawyer or DIY