A 50-year-old Glassboro man, who turned his home into an arsenal with hundreds of guns, has pleaded guilty to selling an assault firearm to an undercover state trooper and possessing other illegal weapons, authorities said Tuesday.