Hello
If you want to do it that way, and you are sure it is the transistor, simply look in a list of equivalences.
Transistor replacement finder - click here
This is the search engine and the alternatives

these are the
100% the same

This is the list of
transistors of similar characteristics