Can I use a Directv 4 way splitter to connect to an over the air TV antenna?
SWM splitters aren't really splitters, they're active (powered) switches.  The power is applied to the cable on the input side.  Here's a page on how they work

No harm to try, but I doubt it will work for you.  Passive splitters are fine if the runs from the splitter to the TV are short, and they're usually around $10 to $15.  If those runs are long, then you may benefit from a powered splitter.