your code 24 doesnt indicate a "bad "or defective "VSS (vehicle speed sensor) module , it means only that the VSS isnt sending a signal to the ECM , and the accellerator is depressed for more than 20sec(i beleive thats the time ) and the car is not in park which sets the code .
if your speedo isnt working the VSS doesnt affect speedo it only registers pulse when it does spin . if the speedo doesnt spin no pulse ,thats why the code , since you claim speedo /odom doesnt work most likely the speedo cable broke to your VSS simulator
if your speedo were working then the simulator could be the problem ,
not that this is your problem but just some info
you can get a code 24 even if the speedo works and the VSS is OK , one of the conditions for code 24 is if car was revved for a long time and not rolling and not in park the code 24 will show up ,as it did on my car , I was in park holding a high rev and got the code 24
it wasnt speedo cable or VSS . the nuetral start at the top side of the base of the strg column also signals the car when it is in park , my switch had gotten bumped out of adjustment redoing some gauge wiring and the ecm didnt know i was in park
, most scan tools will show when the car is in park which made it easy to adjust .