These are pentatonic boxes. Major and minor pent notes are the same - as in A pent has the same notes, exactly, as F#m, it's just that the home note for each is different.Imagine the box between 2nd fret and 5th fret. Start on 6th string, 2nd fret with the pattern, only go to top string 2nd fret = F#m pent. Now start at 6th string 5th fret, end at top string, same fret = A maj pent. I've suggested going bottom - top so it sounds complete in each case. So, same notes, different home place, seemingly two different keys.Stick with that box, but move it up 3 frets. Now we have C maj pent and Am pent.
Soloing needs more than just playing notes in a scalar sequence, but initially, you can switch between these two boxes, 3 frets apart, for soloing in A blues. The lower box will sound sweeter, as it's A maj pent., while the upper will have more edge, using minor notes over the A or A7 chords, but it still works.Sliding from one note in one box to another (on the same string!) in the other box sounds good, and then your hand is ready for that new box.
Without going into much more detail, there are bends to consider, often bending from one pent note to the next, same with slides, hammers, etc. Then there's the missing note which makes pent into blues: the flat 5. In between the third and fourth notes played in min pent is where it lives.
Also consider that often in blues, the minor 3rd is not left as such, but is bent up - sometimes all the way up a fret, sometimes teasingly a little bit. The listener will take it the rest of the way! So, using that, when you do move to the major box, it sounds similar.