I would like to know if when you consider a system in which you have Brownian motion if it is considered a system in equilibrium or far from equilibrium and why. i.e., is Brownian motion considered as something in equilibrium?
It would be in equilibrium, in particular a thermal equilibrium. A thermal equilibrium is one in which the things in contact with each other exchange no "heat energy." The particles in Brownian motion as they crash into each other are exchanging kinetic (motion) energy all the time. But "heat" is a statistical property, which can be characterized by the average kinetic energy. The average can be taken over time, look at one particle in Brownian motion, and its kinetic energy goes up and down as it crashes into other particles, but on average it maintains a particular value proportional to the temperature of the fluid it is in. Or the average can be taken over particles, at any instant, the average kinetic energy of a bunch of particles is some value which does not change (except for a tiny bit which can always be reduced by averaging over more particles) over time.
In a thermal equilibrium, the details of motion of any particular piece are quite complex and even fascinating. The brilliance and purpose of thermodynamics is recognizing how many of those details can be ignored in what circumstances to still correctly characterize the motions of systems including vast numbers of particles.