There are a few issues with this sentence:
- "hear it" should be "hearing it"
- "he or she" should be "they"
- "known as" should be "which is known as"
A revised version:
Autistic children either repeat words immediately after hearing them or repeat whole lines they heard before, which is known as delayed echolalia.