Yeah people are looking at the CUMULATIVE TOTAL OF 4 MINITES instead of for example 20 separate bursts of 15 seconds of barking, which is the more important factor here.
Working third shift is hard enough as it is to get any kind of restful sleep due to the human body not being designed to sleep during the day. Add in that with the mowers and garbage trucks and general noise associated with daytime activities its very difficult to sleep. Now throw in a neighbor that has a pup that gets lonely because it's left alone and barks at various noises, now it becomes a serious source of frustration because it's yet another thing to try to sleep through.
And since you have an adjacent living area the sound travels easily through the walls. If I were you I'd be more understanding that while, to you it's only 4 minutes total, to him it's keeping him up all night.
And honestly, your recording isn't really going to help you in any meaningful way unless you recorded 12 hours straight of uninterrupted audio. Otherwise, who knows how much you edited to make those 4 minutes. Not to mention no judge is going to sit and listen to all that audio for a barking dog complaint.
Take more responsibility for your dog and if you're going to be gone for 2 days of the week that long that the dog is alone, you should put him in a kennel while you're away so he has other dogs or people to interact with.
Sounds cold, but that's the reality. Your pup needs to be socialized and not left alone for so long.