Sounds like a possible problem with the steering column sliding contact. Not sure how that would affect the speedometer though...actually... There may be a common fuse - check there first.
RepairPal Certified shops can diagnose and repair your 1999 Mercury Tracer. They provide transparent pricing with a minimum 12-month or 12,000-mile warranty on repairs and services.