Me and my friend have 4 microphones, one in front, one left, one right, and one behind, how can we merge them into their positions into one audio track and listen to it in real time
I assume you want the microphone positions to be noticeable in the output. So you'll need to mix these 4 signals into a surround sound format.
At its most basic, you could record 4 channels, and play them back into 4 loudspeakers that are placed in the same pattern you used for your microphones.
The most common surround formats use 5 speakers (L front, R front, center, L rear and R rear) which is less suitable to play back your signal, but you can always move the loudspeakers around.