1993 ford f250 automatic

1993 ford f-250 v8 automatic has about 250,000 miles on it, about 7 months ago, the speedometer and electronic mileage gauge went out, and it wouldnt shift at the same time, what happened and what do i do to fix it?

It sounds like the speed sensor when out. Maybe the sensor itself or a wire to it.