I think you need to think about which values you hold high and which values you want to see reflected in your job. Do you care about stability and consistency or about innovation and new possibilities? About collaborating closely or doing your own thing? Do you want to venture into new directions, or do you want to dig deep into what you're doing? How much agency do you want? Then you can check how the two options align with those values.
Also something to consider is whether you can take elements of option A into option B. You have every right to have a serious conversation with the institution / your boss about this. Can you take what's interesting in the academic job and do that where you're at now? Can you discuss with the institution that you're afraid of failing and want more support?
Personally, I've come to realize that choosing a career path based on status (which is what you're actually saying when you talk about it being a boon to your career) is a dead end, a dependancy on extrinsic confirmation that's not necessary or helpful. Following your interests and scratching your own itch has brought me much farther than I had anticipated. I'd also try to focus on just the next year, maybe two.