Electron energization with bursty bulk flows: MHD with Embedded Particle-in-Cell Simulation