Obviously a 4 way tie is almost mind-blowingly unlikely (in fact, it might actually be impossible at least assuming each state is winner take all with no faithless electors...I haven't done the math, but even if it were, hard to fathom 4 candidates being strong enough to make it even remotely possible to begin with, then consider the odds of the states all falling in exactly the right way to get to the 4 way tie scenario....).
It's exceedingly unlikely, but it's definitely not *impossible*. There are actually a huge number of combinations that give you a 4-way tie. Even keeping things along roughly red/blue lines, you could have:
Candidate 1 wins CA, OR, WA, NY, MA, & NJ
Candidate 2 wins IL, PA, MI, MD, MN, WI, DE, HI, DC, CT, RI, NH, VT, ME, NV, & NM
Candidate 3 wins TX, FL, GA, NC, SC, AL, MS, LA, & KY
Candidate 4 wins everything else, except AZ & ID, which go to some 5th candidate
Candidates 1-4 all end up with 131 electoral votes each. There are countless other scenarios that would give you a 4-way tie....though every single one of them is going to be incredibly improbable.