The man had previously threatened the child’s mother and violated protection orders, the Illinois lawsuit said.