A student was charged for bringing an airsoft gun to Penfield High School, according to the Monroe County Sheriff's Office.