Glenview police took Ryan Ruiz into custody last Friday at his mother's home in Chicago.
Authorities say the assault happened back in May 2012.
According to reports, prosecutors say Ruiz met the boy in an online chat room, and Ruiz convinced the boy to meet him in a Glenview park.