I have a 2000 Xterra, 3.3l, runability problem. First, engine cam gear came loose and damaged cam and head. Replaced the engine with a low miles used engine. I only used a basic long block and all the original other parts. The dist. has only about 12,000 on it, and did a timing belt while it was out. Now that engine swap is complete, the engine will start, run good for 10-20 minutes, then loud solinoid click from valve assembly under the rear of the intake plenium, stumbles and then stalls. I did a fuel filter, checked fuel pressure and key on, 40-45lbs, engine running at idle 34-37lbs prior to stumble, then goes back to 40-45lbs. Also it seams to be running real rich on fuel. I've been fighting this for days now, any ideas or help would be greatly appreciated. Thanks.