H4 I-94 Border extension Bases on H1-B I-797

Hello everyone,

I have my h4 and H4 EAD applications pending with USCIS and My spouses H1B approved (PP) till 2023.
As my current EAD and I-94 is about to expire in 2 weeks can I visit any land border and get my I-94 extended to match my spouses new I-797 (I-94) to be eligible for 180 Auto extension.
Are there any complications crossing the Border and re-entering.
Does CBP officer do this extension based on my I-797 or my Spouses I-797.