best to start off with getting it scanned for abs codes, need a real scanner for that, but its way better then tossing cash and parts at it hoping its fixed.
things it could be, bad ground on the frame under the drivers foot area. or the abs pump module is broken. they are rebuildable even diy if your up to some soldering. it just sucks to remove cause it under the drivers seat off the frame. theres vids but them little torx bolts like to strip out due to being rusty most of the time.
my hoe does the same thing pretty much, if one wheel spins even a little bit the gas pedal goes dead for like 4-5 seconds. im pretty sure its my abs pump module, i found if i just turn off T/C it does not do it. we also have stability traction control. if you push and hold the t/c button for 8 to 10 seconds the dash should tell you stability control is off, or its not working like mine does. so i just push it the one time and off i go.