The FM132(trans code D) was used from 1988 until 1992 in 2WD 2.9l Rangers, M5OD(trans code M) was also used in that same time frame, so luck of the draw.
Rangers were made in 3 different assembly plants, I think it may come down to which plant had which transmissions available.
I would make sure trans fluid is full.
Noise in 1, 2, 3, and 5 means counter shaft is most likely wearing out.
4th is a direct connection between input and output shaft, 1:1 ratio so not really a gear and counter shaft would have no load on it.
Hard to get into 1st until stopped is the opposite of most, they can't get it into 1st after stopping, lol, that's a problem with the clutch.
So in your case it could be synchro is worn and not able to spin input and counter shaft up to speed to match output shaft spin(drive line/wheels still turning).
That could fall in line with counter shaft issue(noise) causing it to be binding a bit, so it stops spinning the moment the clutch is pushed in, and synchro can't get it spinning again to match rear wheel spin, when stopped both input/counter shaft and output shaft are stopped, so spin is matched and you can shift into 1st.
If you do need another trans then an M5OD-R1 from a 1990 to 1994 2.9l or 4.0l 2WD would be best choice.
2.9l and 4.0l use same trans bolt pattern.
M5OD-R1 was a very good manual trans, used in Rangers from 1988 until 2012, end of production
From 1995 on there is no speedometer cable hook ups on any Ranger transmission, which is why you need 1994 or earlier.