You could use a hub – but those are hard to find any more. You could use a wireless access point, but usually those have switch ports.
Why would you want to restrict yourself from using a switch? They are very inexpensive.
If one computer has 2 nics you could use internet connection sharing.