Ex-NBA player to stand trial on weapon charge