On this forum you will find much information that will help you fix the cable and other issues.
Under the reference section, you will find manuals and brochures for many years. The general systems and floor plans didn't change much from year to year. So you can use manuals near your year.
There is a forum thread describing in detail maintaining and replacing the cable.
2006 22ft towlite (replaces 97 21TL)
2006 Toyota tacoma pre-runner 4.0 L V-6 quad cab
w/ 98 chevy Powervision towing mirrors