Aranda planned to kill the boy on April 12, when he threw the child over a railing in the Bloomington mall. The boy fell 40 feet and suffered severe injuries.
Aranda told the police that he had been frustrated by women who rejected him at the mall and had intended to kill an adult the day before.
The boy's family said a statement on April 26 that he was "alert and conscious" after two weeks in critical condition.
On Monday, a family lawyer read in court statements by the child's parents.
"On a normal day of fun and games, a day dedicated to the good, you decide to commit a terrible act of violence," said the father's statement.
The mother said the boy "will be fine" in her. "Something really bad must have happened to you, so you want to do that to a sweet, innocent little boy," she said.
Aranda stood in front of the family lawyer, head down, arms behind his back as he listened. He declined to make a statement.
Judge Jeannice Reding said that Aranda received a credit for the days he served and could be released for good behavior for up to 76 months.