Brane configurations and 4D field theory dualities