Let's take a step back. First, this is a problem that is easily overcome. So while I know you are frustrated, don't let it get to you. The solution to getting your vehicle running just the way it was before is simple, but time consuming.
1. Go get the two repair manuals that you need - 97 and 98.
2. You need to go connector by connector through the two harnesses and confirm that each wire is correct per the manual. In other words, if Connector 1, Position 1 is red in the book, make sure it is red in your hand. Once you've confirmed that, then you know you have the proper manual to support the next step. The colors should match, but if they don't, we don't really care. What we want to confirm is that you have a harness that has a wire in each location that you should have one in, AND YOU WANT TO CHECK BOTH ENDS. So if C1/P1 is supposed to be red and connected to C2/P1, but is actually blue but still connected properly, then just note the new wire color and move on. If C1/P1 ISN'T connected to C2/P1, then you have the wrong manual for that harness, so get the right manual.
3. You now need to compare the 2 manuals. In other words, if Connector 1, Position 1 is XYZ function in the 97, the you need to confirm that Connector 1, Position 1 is XYZ function in the 98 as well. This should literally take you 15 minutes as I suspect you will find that they are almost all identical. Note that this is a PAPER exercise - we're NOT doing this with the actual harness.
4. Make any adjustments that are required to your '98 harness. You will do this based on the PAPER exercise you did in step 3 above.
This probably seems like a lot of work, but here is the #1 thing I can tell you: you can NOT match harnesses up based on wire color. You can start there, but that is absolutely a recipe for disaster, and frankly, doesn't matter. What matters is the two ends are connected to where they need to be. There are a lot of reasons why a harness might have a different color wire in a different place. The number one cause is that the supplier ran out of that color wire for that particular production run. Good news, wire color doesn't matter (except to make life easier). Better news - as long as you have the right size wire connected to the right place on both ends, you'll be fine.
I get it - there are a lot of wires and a lot of connectors. Don't sweat it - your harness will be 90% the same between model years in all likelihood, so this exercise will be quick. But again, and I can't stress this enough, do NOT connect wires to each other just because they are the same color.
d-