Without specific year and engine combinations the most likely answer is no.
np231
NP241...?
A 1995 Dodge Ram does not have a transfer case control module. The transfer case is mechanically controlled.
It uses ATF
ATF+4
Turn on the 4wd light.
Mopar ATF+4
If equipped, it is on the top of the transfer case and has four vacuum lines plugged into it.
back of transfer case!
I believe a np241 came in a Sub. not sure if there is a difference between a 1500 and 2500.
The only thing electric on the transfer case of a 1994 Ram is the vehicle speed sensor. It is on the tail shaft
ATF+4ATF+4