Have Toyota Questions? Ask a Mechanic for Answers ASAP
I'd 1st suggest measuring the actual oil pressure with separate mechanical gauge - this can be plumbed into the engine via the current pressure switch port - if you use a Tee piece you can keep the pressure switch plumbed in as well and so see if the low pressure light corresponds to a low pressure reading.
As its intermittent and you have no rumbling or rattling noises from the engine its likely to be an electrical fault so 1st check the connection to the pressure switch is bright and clean and check back along the switch wiring for any signs of damage to the insulation
As if the wire is grounded out at any point then this will also turn on the light.
if this is all OK and the oil pressure is at least 1.3Bar ( 20psi) at hot idle then replace the switch
If you do have a low pressure reading and to turn on the light it will be very low about 5psi then replace the oil pump and ensure that the pump pickup in the sump hasn't come loose or is blocked
if there's no rattles or rumbles then you could risk it but I'd would reccommend getting a pressure gauge on there 1st as currently you may just have to replace a pump, but driving it with no pressure will result in a new engine
do you still need help?
Bear in mind that the site takes a deposit from you at the beginning and this is held by the site until you rate my answer at which point the cash is split between the site and the expert. so if my answers have been helpful please rate my answer.