Your husband needs to retain an experienced criminal defense attorney. The attorney will aggressively attempt to have the main charges dismissed at the preliminary hearing. If the case moves forward, the attorney will file a motion in court seeking to suppress the evidence found. The search may have been improper and can be challenged in court. We provide a free consult.
As usual Attorney Keller has hit the proverbial nail on the head. Both the vehicle stop and the subsequent search sound, from your description of the circumstances, very suspect. A good criminal defense attorney experienced in the proper handling of drug cases is the only effective way to fight back. Do not post any further details on the Internet, including social media like Facebook. Your husband needs to talk with qualified legal counsel in private without delay. He is fortunate to have already heard from one of the outstanding attorneys from your end of the state who participate here. I would highly recommend that he take advantage of Mr. Keller's generous offer of a consultation. Good luck to you both.
The issue of the gun will be based on credibility at trial. The amount of drugs makes it a selling charge. You need to hire an experienced criminal defense lawyer. You may have a good suppression issue as well.