Can I contribute to my Solo 401k and match it if I'm filed as an S-corp?

Yes, you can.