To be certain of its location, you should consult a repair manual specific to your 1998 Chevy Tahoe's transmission type. A Haynes or Chilton manual would be a good resource. These manuals have diagrams showing the exact location and how to access the switch.
Trying to find it without a manual might lead to unnecessary work. The manual will provide clear visual guidance and save you significant time and effort.