Motor problems i just replaced my motor now my speedometer don't work and it on 2004 Ford Escape

Don't want to shit gears i had it read and its saying something about a transmission sensor

2 answers
any eng codes or trans codes
output shaft speed sensor on trans sends signal to pcm. from pcm to speedometer. check sensor and wiring on transmission.