It needs to be load tested.
It’s free to have done.
It’s a start. We can’t just have random guesses.
Are the earths good? Eg. Not high resistance.
Is the battery healthy? Get a free load test done.
Have the intake tested for leaks with an automotive smoke machine or make one as shown earlier.
Check the accessory pulleys with the belt off. Spin them. Inspect for play.
Make sure the spark plugs are in correctly. Torqued properly.
Redo the coils. Take extra care to get them seated well.
Install the intake plenum with new gaskets. Metal ones with the silicone seal. Torque the bolts to 25Nm.
Make sure all the vacuum hoses are not brittle.
Inspect all the injector plugs for damage. Can you move them a bit and see if the idle changes?
Do the same with the coil plugs.