Please confirm which AFM & ECU combination you've got.
Given it's a 3.5EFi I'm expecting it to be a flapper AFM & a 4CU ECU but conversion to the later hotwire isn't unusual.
The flapper AFM is item 14 in this link:
Lrcat
The associated 4CU ECU has something of a reputation & the only way to check is substitution with a known good one.
That can be problematic.
They do come up on ebay but the prices can be eyewatering & you can't guarantee that what you receive will be any good.
Also used in the Rover SD1 3500 & can have several part numbers. I emailed Lucas some years ago & their advice was that they are interchangeable & that's been my experience on my own RR.
However, IME if an ECU develops a fault it doesn't come & go so hopefully the issue isn't your ECU
IF your inlet manifold is as in this link then the sensor norseman is referring to is item 15 (ETC8496) often described as 'the one behind the easy one' & should be replaced.
There used to be a repairers that had the website carelect.demon but that seems to have disappeared & their advice was that in the event of rough running that should be replaced as a matter of course.
Lrcat
The sensor that does the dash gauge is in the front of the inlet manifold. Item 12
Lrcat
The ninth injector - on the side of the plenum, item 12 in this link
Lrcat - serves no useful purpose in the UK & can be disabled by unplugging the electrical connector. Which I did on mine shortly after I got it in 1994.
Yours PROBABLY won't have a stepper motor - item 20 & associated bits in the same link - but as Range Rovers are 'Big Boy's Meccano kits' it's best not to assume anything.
The factory workshop manual contains a lot of testing instructions & you really need to follow these.
AFAIAA there is no online manual for these RRC with that EFi setup although there are sites which may have pictures of the pages of the paper manual. I have no idea if any of the online .pdf downloads work or are suitable.
The later factory RAVE CD doesn't cover it.
The factory manual is a thick paper book 'Range Rover All petrol and diesel models 1986 to 1989' ISBN number 9781855204430. They do turn up on ebay from time to time. Not cheap, got mine new years ago from Brooklands Books & IIRC it was £50 ish, but has saved me a fortune over the years. Can't find it on Brooklands website - I've just looked.
ETA. Check all the plenum hoses are tight & in good condition. If any of them can allow unmetered air in - air that hasn't passed through the AFM - then it will throw the whole system into chaos & the ECU won't be able to sort the fuelling. I had the extra air valve hose split on mine - item 8
Lrcat - & the car was very rough.