If you have a bit of money, machining skills, and access to a metal lathe and a hydraulic press you can modify the 12 tooth metal gear fit onto the 1/4" shaft.
Attached is a picture of the tooling and a few finished gears. The 1/4" shafts have a chamfer so I only needed to press the broach about 1/2 way through. These have worked out beautifully.
That’s very cool. Thanks for sharing this. Just one question: is it possible to have the corners of the square hole end up “under” a gear tooth rather than under a “bottom land” ? I was wondering if that might help it be a little stronger.
Yes this should be possible. You have to drill out the center first anyways with a 17/64" bit, so it would just be a matter of turning the 12t gear the appropriate way before pressing the broach through.