What brand was the aftermarket switch that failed ?
This is an example of where I would make an exception for $15 aftermarket.
The part is dead simple, takes literally 1 minute to replace, and will not leave you stranded if it fails.
Back in 2018, my window switch died.
Dealer = $66
Aftermarket = $25/shipped.
Went on Ebay and found a used one salvaged for $12/shipped.
First one lasted 32 years,
I was willing to take a risk on a non-critical used part.
5 min replacement, so if it dies, not a big deal.