Welcome back:
The 304 is still related to cylinder 4 misfire. As far as the 1140, there is an issue with the camshaft position sensor on the right side. Next, the 1130 deals with the swirl valve in the intake. The 1320 deals with a an ignition issue. Okay, the first thing I need you to do is this. Switch the coil on cylinder 4 with another cylinder to confirm this isn't a coil issue. Although it is new, it can be bad.
Next, I need you to check the connections at the swirl valve and the camshaft position sensors. Make sure there are no issues with corrosion or damage.
Since the swirl valve also operates on engine vacuum, we need to check for a leak. Here is a link that shows how to check.
I attached 3 pictures below. The first shows the swirl valve connection, the second shows the vacuum control switch for the swirl valve, and the third is the cam sensor.
I am hoping it is something that may have been left unplugged when you did the work because it will become very complex to diagnose if it isn't. The one thing these things all affect is the timing. I would be happy to attach the diagnostic flow charts for everything, but it will require a good scanner and I don't want to overwhelm you unless you want it.
Let me know what you find.
Joe
Images (Click to make bigger)
Wednesday, September 11th, 2019 AT 4:43 PM