My aloe plant has been turning brown for several months. I can’t tell if I’ve been overwatering or underwatering it.
Is it safe to assume that when you say you "reported it" you mean you repotted it? If thats the case, plants take time to recover from being disturbed. How long has it been since you repotted it?
I doubt this is too much exposure to sun. In fact it appears to have been grown in low light conditions for quite some time. Overexposure would show up as dull red leaves,
Plants (not just Aloe) will abandon older, less efficient leaves when stressed. Especially when they are stressed by repotting. The newest growth on your plant looks healthy and green. Aloe leaves are not immortal, there is a cycle, the end of which is dehydration and death of the leaf. Generally the oldest leaves die first.
Many Aloes are generally not neat and organized growers. The more sun exposure they get, the more compact the plant will be. This has nothing to do with general health, it's what they do to survive; they grow towards the light. That can make long "stems" like yours. You can see the tip of your plant turning to the window, trying to get light.
I recommend watering sparingly for a few weeks, and cut off any obviously dead parts. I think your plant is recovering from being repotted and the growth has been stretched by a lack of sunlight. None of this is bad in my opinion.
If you want to grow nice tight Aloe rosettes you'll need to change the growing conditions to something with much more sunlight, among other things. That isn't always possible, depending on where you live, so you get somewhat atypical aloe growth.