L2 status is changed but EAD not expired yet, can i still work

Hi, I am having EAD which expires on 03-Nov-2017.

In the next two month around Oct-2017 my L2 status will change ( as my spouse is going to apply H1 visa there by will loosing the L1 status ).

In the meantime i would be then on H4 i believe but my EAD ( which was for L2 ) is still not expired.

In this case can i work for UBER and earn money by running my car.

Thanks,

No,

Your EAD is tied with your L2 Visa.Its invalid the moment you switch from L2 to H4.