Do you have any exhaust leaks?
Does this model have 4 02 sensors like my 99 WJ California or just 2?
Cam sensor is used to directly control injector timing, so if the cam is not degreed in and the cam sensor is off it will cause funky issues with the mixtures and the PCM will hit closed loop mode and try to command 14.7 using 02 feedback. It does stand to reason that if the cam is wildly different than the factory grind it will require a different sync procedure, however getting it close it should run OK.
How much compression does this puppy have?
Have you checked the TPS voltage and the "smoothness of the TPS" transition through the full throttle range?
What plugs is it running? Perhaps run a colder heat range to pull more heat from the chambers, and DO NOT USE Platinum rofl.
Any blockage in the cats or exhaust system will cause a major rise in EGT and detonate.
When I had my 4.7 running the first time (before the cam failed at 2k miles) i had a lean condition with a tip in stumble off idle only after warm up. It was caused largely by an incomplete weld seam in the Banks header right before the rear 02 bung at the 3 way collector. By welding that up and fixing the leaks it helped tremendously. Fuel pressure should be around 51 psi. Did you install 24# injectors that are for CERTAIN flowing 24# at the rated PSI, some of the injector sales I have seen on the bay advertised higher flow #'s by using a higher rail pressure rating. For example my 24# flow 27# at 51psi and I have seen them advertised as 27# injectors which they clearly are not. I think 43.5 is the standard PSI for flow rate.
The larger cams will cause the idle vac to be low which will run the engine rich and retarded but as you tip in the throttle the signal rise will cause it to want to lean out under load. All that should be fixed in the programming though.
Good luck man I know its frustrating to spend all this money and time and not enjoy it... or have the damned thing blow up after 2k miles.
