The stipulated train does not expand. The definition of coordinate acceleration doesn't change with velocity.
There are some problems with this thought experiment which I address at the end related to trains don't work like this, but I attempt to proceed with the least-impossible interpretation for now.
You'll find a non-length-contracted train that has been destructively crushed into the amount of length as a length-contracted train by the forces you applied to achieve the desired acceleration.
If the back of the train and the front of the train accelerate simultaneously in the station frame, they stay the same distance apart in the station frame.
In the train frame, the front of the train accelerated before the back, giving it a relative velocity towards the rear of the train by the time the back starts to accelerate. See: relativity of simultaneity. A non-constrained train would equilibrate under the internal forces that hold solids in their shape, but our train is constrained to continue accelerating simultaneously in the station frame, so the front keeps a relative velocity towards the back.
Both frames measure a force acting on the back of the train opposite the electric forces transmitting the rearward force applied on the front of the train. They have a slight disagreement about when the forces were started and what they're doing. In the station frame, the forces are constraining the length of the train. (Imagine trying to inflate a beach-ball under a car.) In the train frame, they're maintaining the velocity difference between the front of the train and the back of the train against the restoring forces applied by the train's structure. (Imagine compressing one end of a spring towards the other.)
Having all parts of the train accelerate simultaneously in the station frame is impossible unless your train is actually an cunningly disguised spring and you carefully tune your acceleration forces to its material properties. Trains (and rockets) buckle when you crush them, they don't smoothly compress. But trains also don't travel at relativistic speeds on train tracks, or have massless, frictionless wheels.... Just check your intuitions at the door, since this is a deeply non-train-like train.