The PCB is carbonised. If you don't cut away the burnt area back to un-charred FR4, it will just burn up the new parts. As the PCB is so badly damaged, and the emitter and detector position are critical, this will be a PITA to rebuild accurately enough even after you find suitable parts.
Have you tried to source a complete replacement trackball?