A judge set bail at $2 million for the man who is accused of stabbing a 13-year-old boy as he walked to school earlier this month in Everett.