The sit-out player has 7BB left, and this is to much to significantly impact your strategy. You cant give up half your stack just to outlast him and secure a min-cash. As for the hand itself ATo is a marginal jam here, when someone have already limped. It depends on, what reads you have on the limper? Is he someone, who is doing a lot of limp-trapping? Does he limp his entire range? Or is he basically always limp-folding, because he raise all his good hands and only limp junk?
I plugged your hand into ICMizer but decided to ignore the limper, because the range, ICMizer will assign for a limper, is typically way off and skew the whole math completely. Without a limper A8o or better is a profitable jam for Hero, so if the limper was in fact mostly "dead money", this looks ok to me, but folding would not have been crazy either. The fact, someone behind woke up with AQ, does not make it a bad jam, since this is baked into the math already.