A judge has denied a defense motion to dismiss charges against a 19-year-old man accused of raping the former South Hadley High School student prosecutors say was driven to suicide by school bullies.