speedometer problems on 1990 Dodge D150

speedometer works but odometer and tripometer dont

2 answers
bad board in speedometer gage. Replace gage
I think the speedo unit needs a trip to the speedo shop for a rebuild.
Here's a directory link for you for a Dodge specialist:
https://repairpal.com/directory?address=79936&car_brand_names=Dodge