Engine stops randomly

  • Hi everyone,

    I have a little problem, as the title says, my engine stops randomly. Here is the story:

    I had a problem on my first engine (bad compression on cylinder number 1). Then, the idle was pretty bad (like it was at 2000 rpm). A few days later, the idle was even worst, it wasn't stable at all (like from 500 rpm to 2500). So, I had an idea: swap the motor, maybe it was the compression on the first cylinder which is guilty (i think the ECU takes information on the first cylinder).

    So, I took an other engine and put it in my good old voyager. But as you know, there is still an issue. The engine has a good idle but, I don't know why, sometimes, when i accelerate, it just stops.

    For context:
    -Crankshaft and camshaft sensors are new and the ECU seems like to have information by them, so, I don't think it's the issue.
    -When the engine stops and I try to re-start it, sometimes, I have no sparks at all. I have to restart 3/4 times to regain my sparks.
    -The speedometer needles stay a their place when the engine brutally stops. (Like, if i was at 2439 rpm, the needle doesn't come back, it just stay a 2439 rpm).
    -When I do the trick with the key and count de number of "check engine", well, I don't have a single issue, except 12 (battery) and 55 (reset).

    Any help or advice would be appreciate (and helpful).

    Have a nice day !