one thing that may help, refresh any/all ground wires. There may be some low in the front that are important for lighting.
There is a lampp that ends in -LL for long life, perhaps a Philips??? or panasonic????, any way, when you buy bulbs , all of them that claim to be brighter, will have shorter life spans.
if any of the bulbs on your 2012 are 9005 or maybe 9006? there is a 'hack' to use HIR bulbs. I dunno if you will get more longevity though. here's one link that may explain it; https://www.toyota-4runner.org/5th-gen-t4rs/150621-how-headlight-bulb-conversion-h11-h9-9005-9011-a-4.html