OK, the new distributor fixed the problem. So far the engine is running better than it has since I've been working on it. I obviously don't know exactly what was wrong with the distributor other than it appeared to temperature-related.
The only other info I can add is the engine started running poorly a few days before it totally went bad. I checked a few things at the time and ended up doing the easiest thing I could think of - adding fuel treatment to the gas tank to see if maybe water in the fuel was causing a problem. Not having a fuel pressure test port is a major PITA on this engine, and I didn't know enough about the fuel system to try pulling off the supply line and checking for water. The lack of a fuel pressure test port was a problem the whole time. I got a gauge set but it didn't have fittings to attach to the fuel supply line. I tried it on the return line, since that had a hose I could use for the hook-up. That was a waste of time - no return pressure was detected. Crawling under the rear end and hooking up the gauge there at the fuel filter was a non-starter. I don't see how Haynes or anyone else could suggest that hook-up unless you either had a willing helper, a very long piece of hose so you could get the gauge out where you could see it, or you skipped the other suggested tests and just went with fuel pressure, read of course while lying under the running vehicle. I finally had enough of the silly fuel pressure test and cut the rubber hose part of the fuel supply line on the engine so I could tee in to the line at that point. That was I should have done to start with, as it worked like a champ. I spliced the rubber hose back together with a piece of tubing and a couple of hose clamps. Eventually maybe I'll replace the supply line assembly.
I had also checked the fuel pump early on in the troubleshooting process. I did the electrical tests with a meter and the pump appeared to be OK. A week or so later I decided to take the pump out and check the strainer bag on the intake. Opening the tank was no problem. Getting the pump out was an incredible PITA. I ended up getting sliced up on the sharp rim of the tank opening. Not just one slice, but multiple slices before I realized I was bleeding all over the place. I could NOT get the hoses to detach from the bottom of the fuel tank cover plate. I could see what had to done to release them, but it just wouldn't work. I finally got mad and yanked the hoses around and the fuel pump popped loose. I didn't realize, and Haynes never mentioned, that there is a latch tab on the pump housing that you are supposed to release. It wouldn't have mattered anyway, as I couldn't get my fingers on the tab anyway with the fuel hoses connected to the tank cover. With the pump assembly loose it was still a PITA to work the assembly out of the tank, but it finally came. The strainer bag looked OK, as did everything else. The tank itself looked almost spotless, and I could see no water. I disconnected the pump hoses while I had the pump out. They were hard to get off even when out in the open where I could see them and work them around. After checking everything I decided to just put everything back together. Another huge PITA. I couldn't get the pump assembly to line up with the pump retainer assembly, and couldn't get my hand into the tank far enough to align things correctly. I also couldn't reach the retainer clip, and this was all done with the fuel hoses disconnected and the float arm and sending unit assembly detached from the pump. Even with my sleeve down to protect my arm I was getting scraped and chafed on the tank edge. I finally made a determined effort and got lucky when the pump clicked into place. Hooking the disconnected fuel lines back up to the bottom of the tank cover was another hassle. I had a hard time getting them to latch into place. Once I got everything reassembled I found the cover seal o-ring was somewhat stretched so it was a little too big to fit properly. Good grief, I was so over this fuel pump thing! I finally got it to stay in place as best I could with some silicone grease. There isn't a good way to check and make sure the o-ring is still in the right place once you put the tank cover on, so I just went for it and screwed the cover down. Seems OK as I don't smell gas inside the cabin.
The rest of putting the fuel pump back together was easy after all the hassle. I have to give Nissan credit for making it possible to access the fuel pump without dropping the gas tank. I have to take credit away because of the absolute hassle it was to actually get the fuel pump out. I don't think I would recommend this job be undertaken by anyone with massive forearms because you'll never get you arm in the tank. A few years or more of experience working on cars and dealing with poorly-designed components apparently meant to be worked on only by your local dealer is almost a necessity as well.
I hope this helps others who might have a problem like this. I realize I got a bit carried away with describing the fuel pump experience I had, but maybe that info will also be helpful to someone.
