I used to use the exact same Thrustmaster joystick, but also had the yaw problem. I tried fixing it several times. The fix would work for a day or two and then fail. I can take apart that joystick and put it together again in the dark.
You might consider going mouse and throttle if you are unable to find an ideal joystick.
I ended up flying mouse (Razer Naga Trinity) and Thrustmaster TWCS throttle for the following reasons.
1. Railgun aim: specifically Short Range Blaster rail guns were impossible for me to use with the joystick. I tried for months. Long range rails were fine, but I do organized PvP and SRB rails are a meta and really really fun. I tried the mouse one day out of frustration and could
instantly use SRB rails. Yes, it took me months to learn to use the mouse well enough to get the same liquidity of feeling with rotationals, but to me it was well worth it because:
2. The maintenance and failure rate of the mouse compared to the joystick is zero.
3. Much cheaper in price.
4. I have small hands and am female. Mice fit my hand perfectly. I had to add all sorts of "prosthetics" to my joystick so my fingers could reach buttons more quickly and so that my wrists wouldn't hurt. I also had to take apart the joystick occasionally because I needed to grease the large spring because an ungreased spring made my hand hurt even more. Nyogel dampening grease is great, but sticky! Mice need no maintenance. The throttle I use likewise has been similarly adjusted, but I kept it because of the analog switches. And yes, the throttle has failed. I am now on number 3.
5. As a PvPer, my mind is so occupied with analyzing vectors, watching boosts and preturning, in addition to orbiting rocks without crashing into them, that immersion is lost only when my equipment fails or the game bugs out.
o7