"I got the gun from inside the couch cushion cover in the living room and I ran into the bedroom where Freshy was and threw it out the window and ran into bed with Freshy," Ms. Melendez told police, according to court papers.

Police also found a plastic twist of marijuana on a living room table, court papers allege.

Wilson, Ms. Melendez and a third occupant, Tariek Atkinson, 19, each face misdemeanor charges of fourth-degree criminal possession of a weapon and unlawful possession of marijuana, according to William J. Smith, a spokesman for District Attorney Daniel Donovan.

Wilson, who in March was convicted in a marijuana possession case, also faces a felony charge of third-degree criminal possession of a weapon.