The cable pull on MTB rear mechs changed with 10 speed. Likewise modern road 10 speed (Tiagra 4700 and GRX) have 11 speed cable pull.
So there are no Shimano 10 speed long cage rear mechs with 9 speed compatible cable pull.
One option here is to graft a long cage to a body with the correct cable pull. I have an ultra long cage 5800 mech
like this one from back when you couldn't buy such a thing. Finding compatible parts is non-trivial, however.
The other option is to buy
something like this from the big rock candy mountain.