Okay. So if clicking with your mouse made a capital T, perhaps Windows is working completely fine and there is no software or setting blocking that combination. And since it also failed when you tested it in Safe Mode, we can be confident this is a physical hardware problem with the keyboard itself.
Keyboards use an internal electrical grid where every key sits on intersecting circuit lines. When you hold Left Shift and press T, the keyboard relies on a specific electrical pathway between those two keys. Over time, that specific circuit trace can wear out or break.
To help you with the next step, is this a separate keyboard plugged into your computer, or is it a built-in keyboard on a laptop? If it is a separate keyboard, do you happen to have a spare keyboard or another computer you could plug it into to test?