Pickup/Early 4Runner Tech
That was my first guess. My intake had a small crack in one of the ribs of the intake tube's bottom and would only stall when I tried to climb over something vertical. On flat ground it would run great and never threw a code. I would start there and then plugs, wires, fuel filter.