Assuming you have an '87 Mustang, and the transmission is the factory original one with the factory original speedometer drive gear, and the tires are the factory original tires or the same size, you need a 20T gear, Black for a manual or Orange for an auto.
black 20T = Ford part number C1DZ-17271-A
orange 20T = Ford part number C8SZ-17271-B
If my assumptions are incorrect, you need to spell out exactly what car you have and what exactly has been changed in the transmission and tire areas.
black 20T = Ford part number C1DZ-17271-A is the one for a 5 speed tranny. the ford book says that u can not get a right speed if u r using a bigger tire but that # is for 90-95 t5s