My shift cables were like this.
I had "fixed" the broken one with zip ties but the shifter felt horrible. So last weekend I replaced my shift cables. I saw some how-to threads but none for my specific setup with pictures. Here is mine. If you have a 2002.5-2007 check out whynothinkwhynot's thread here: http://www.focusfanatics.com/forum/showthread.php?t=304574
First off you need to gather all your tools and decide how you plan to go about the change. You could possibly do this without going underneath your car or jacking it up, but what I did involved jacking it up. If you are going the underneath route you need more tools.
Here is what I used.
A new shift cable (Part # 1S4Z-7E395-HA)
Torx screwdriver (t25 I think)
19mm socket and wrench (lug nuts)
10mm socket and a wrench
Two pairs of vice-grips
Two flat head screwdrivers
A pry bar (1ft.)
Jack up your car, place a jackstand underneath and take off you wheel and inner fender. The inner fender has a torx screw underneath the rocker panel area right by the driver's door that is hard to see as well as some phillips screws.
Take the center console out. Mine was already out so I don't have pictures of this. To do this you need to unscrew the two screws in the cupholders and take off the armrest, which has a couple screws. It will then look like this
Then take out the black trim piece by removing the plastic fasteners (where the zip ties are in my car)
Then take out the air box by unhooking the tabs and unscrewing the screws. There is one screw on the passenger side and one on the driver side.
Passenger side. This one is not the easiest to see but it is there.
Driver's side. That other plastic fastener does need to come off but it could if you want.
To make things easier take away the air tube to the back seat. I had to bend mine to get it to come free from the seats so be careful if it is really cold out when you do this as it might break.