Could you mesh a 1 Mod 127T gear earlier in the train (where it wouldn't hang outside) and fix it one of the others, to compound it?
My larger Far Eastern lathe uses a 120/127T compound gear as an idler to cut Imperial pitches from a Metric Leadscrew.
Alternatively, if you were prepared to make/buy two 0.75 or 0.5 Mod gears, the 127T would be smaller, and would mesh with each other, but the smaller would need to fixed to one of the other gears in the train as a compound gear.
The smaller would probably need to be compounded with one of the smaller 1 Mod gears in the train. If you could a fit in a compound gear, with the same number of teeth as one already in the train, but 1 Mod on one and 0.75 Mod on the other, (to drive the 127T).You might need a spacer behind the 127T to bring it line with its partner.
Once available, you could then cut threads with Imperial pitches that are accurate as that of your Metric Leadscrew.
You will still nee to do the maths / experiment to arrive at the required pitch.
Hopefully the gears have keyways, rather than the pin arrangement used on Myford ML Series.
As an aside, after making two 100T gears for my mini lathe, I had to modify the cover (cut and extend) to safeguard one of them, as part of the minor modifications needed.
Just a thought or two.
Howard