The powertrain warranty was not extended because of the engine replacement so the warranty ended as is shown in your warranty booklet.
The cause of the engine stalling likely has nothing to do with the replacement of the engine, you will have to pay for the repairs on this car since the warranty has expired.