You should submit N400 first. It varies on N400 waiting time because of FBI name check. In some cases, FBIi name check can take up to 3 years before N400 approved. You have no control over that. So you have to decide.