Newark man pleads guilty to firearms charges including possession of ghost gun and illegal machine gun