this happened to my friends CRX and he has a B20 in it. the engine would buck at WOT. the got all the ignition redone, he spend a lot of money on it. it still did it and he was pissed.
he later found out that the fuel pump was getting cloged with pieces of rust in the gas tank(the car sat for 3years).
might wanna check your gas tank. might be time for a new gas tank
the reason why it might have been pulling to the right that day is with all the engine bucking it could have thrown you alignment out of wack.