Regarding the average cost basis method, my understanding is that if you sell any shares using that method, the IRS won't let you undo it later.
So if for example you buy 1000 shares of XYZ at $1/share, and later another 1000 shares of XYZ at $4/share, you have 2000 shares that cost a total of, i.e. have a total cost basis of, $5000.
Say a month later it hasn't moved, and you sell 30 shares using the averaged basis method, you get 30 x $4/share = $120 dollars. The average cost basis for your shares was ($5000 shares / 2000 shares) = $2.50 per share, so 30 shares times $2.50 gives $75, and you owe taxes on ($120 - $75) = $45 dollars in ill gotten gains, you capitalist.
If you then go into your account and switch back to specific lots instead of averaging, I believe it will set the cost basis of all 1970 shares you still own at $2.50, you can no longer "go backward" and say I really meant to sell the 30 shares from the $1 lot or $4 lot, they have been cross mingled in the eyes of the IRS. If you bought some new shares and didn't switch to averaging them, you could probably sell specific lots going forward, but that group of 1970 shares of XYZ is stuck at $2.50.
If when you sold those $30 shares using the specific lots method, you could have had a zero or a substantially higher capital gains, depending on which lot you sold from. You can see that gives flexibility when you have high income (i.e. working) or low (presumably retired).