4WD drive can't be in N
I've had this happen twice on my 2001 4Runner Ltd. In both cases, there was bad interaction between the 4WD gears and the regular gears.
Make sure the 4WD is not in N, its center position. High or Low is fine, just not Neutral.
The most recent event was during below...