Car died!!!

My turbo Integ died while I was driving I was changing gears from 3rd to 4th and when I was in 4th I noticed some power loss so I put it back in 3rd and got the power back for about 3-5 seconds and then the motor shut off but the radio was still running. Then after about 20mins I was able to start the car and it was running really ruff, and hardly any power then I gave it some gas and a big puff of blue smoke came out of the exhaust and after that my car had full power.
I put oil into the car and now it runs fine but I checked it the day before the car died and it was at the top dot and when I checked it after my car died it was almost at the top dot

I think it was oil pressure but my car still idles weird so what else could it be?

I search and some people with a similiar problem had it be the fuel pump or oil pressure.