Ok correct me if im wrong but I thought a j30s have coil packs
was it i4 at first
if so then check all your grounds
and then check all connections
when I do engine swaps most of the time its a connection of some sort
ground,power,sensor anything not there but normally a ground
just my .02