That's what I had to do to my XJ. It was a 2000. The '00 and '01 were a terrible design. I did all the internet remedies except the fan. I started with the easy stuff...new injectors, heat shield, heat tape, then the hood spacer. The hood spacer was the ticket so I quit there.
A few things I found:
Apparently the "new" ethanol fuel has a lower volatility than the good ole unleaded used when this manifold design was implemented. If I used 100% gas, the heat soak never caused the fuel in the rail to volatilize. I also wanted to confirm the under hood temps so I put a HOBO under the hood with a thermocouple wrapped around the fuel rail. On a hot July or August day, the under hood temp would stabilize at ~140F when driving highway speed and engine temp was around 190 where it was supposed to be. When I'd park it, the temp increased to ~230+F (I might be wrong on that number, but it was pretty dayum hot) over the course of about 10 min. and gradually cool down. Not a problem for 100% gas, but enough to cause problems with the E90 for my jeep. I don't think I did the test again after lifting the spacer but I wish I would have. It 99% fixed the problem so I moved on to other things. It wasn't a big deal anyway, just annoying as hell.