https://www.shindengen.com/products/electro/motorcycle/dccdi/TCI (Transistor Controlled Igniter)
CDI (Capacitor Discharge Igniter)
PB = Push Button
Until you have the wiring diagram in your possession, have looked it over thoroughly and start to understand it, guessing, buying and replacing electrical parts & assemblies is just an expensive hobby. Maybe you'll get lucky, maybe you'll run out of disposable motorcycle money.
You say your spark happens only when you release the starter PB, so there is a wiring/switch issue. A new $150 TCI box won't fix an existing wiring/switch issue. Get out the wiring diagram, get out the VOM (Volt-Ohm-Meter) and suss it out methodically. Flailing just leads to puzzlement & frustration.
The wiring diagram will show you when and how the various bits are connected. Every useless "safety" switch just adds another failure point. Unless these switches ohm out to near zero ohms, they are an impediment to function. The start PB
should have nothing to do with the TCI ignition, you need to find out why yours is behaving this way and defang it. SImple is good on these machines.
Get the info and tools you need, understand them, apply them. Riding something with a "mystery problem" requires a very good cell phone, an active AAA card and a willingness to stand at the side of the road for awhile in random locations.
Electricity isn't that hard, just learn & trust your tools and follow (and confirm...
) the diagrams.