Seniority really isn't worth much on a software team because no matter how high you climb, there's always someone above you who can override your decisions.
Once you have stayed at a company for more than 3 years, leaving for greener pastures is never counted against you. If you think it's good for your career, do it.
The problem is I'm not sure if it will be good for my career. Ultimately I'd like to be in more of a leadership role, and Job A has me doing some of that. However, its not clear how much room there is to move up. I like what I'm doing, but worried I'll get stuck while skills atrophy.