You have to use a Pre-90 Mazda BF 323 or the Capri Electronic.
The BF Mazda uses a govoner control system, unlike the Capri. But they do seem to run 100,000 miles longer.
The BG Mazda 4-speed auto uses the same control as the Capri but the transmission is a different series. The inner CVs from the Capri should work.
Finding a shop who is willing to rebuild your box is the best bet. Many are leary of it for good reason. The Auto Transmission can run 140 HP through it for about 80k. Most of these barely last to 80k and there are several "to be replaced" parts from service bullitens. Bubba Joe shops jump on them as just any transmission on a job order. Shops with well earned pride know what these are.
(gone now) I JUST saw a rebuilt one and I kissed my stars that I had no use for the troublesome little beast. Take the chance to go stick if you want to do the amount of work involved in a R/R.
The F series tranny uses the same shafts, its super light, and if your not into drag racing it can hold 150hp reliably. The 4-speed F series stick is geared out for gravel. You would have to get a 4-speed from an older BF 323. Mazda had synchro issues back then ...kinda.
Honestly.