Right now, work with a good lawyer to try to get the best possible outcome on the pending charge. This shouldn't disqualify you from citizenship but, as you have probably guessed, any criminal activity can potentially cause problems or create delays.

