The man accused of firing a loaded pellet gun inside a Cary bookstore Friday night appeared in court Monday for a first appearance hearing.