Let's see if I have this right.
You left job A to get job B.
Left Job B and went back to Job A.
Then left Job A to get job C.
And now want to leave job C and go back again to job A?
Maybe the problem isn't the job, maybe it's you. (I don't mean that in a nasty way).
Why did you initially leave job A?
Why do you feel out of place in jobs B and C?
Is the work the same, but the environment different?
Why do you want to keep moving back to job A, what's attracting you back to it?
If you do go back to job A, then I find it unlikely that you'll get any interesting long term projects, or promotions, as I feel that you've shown yourself to be very fickle and not committed to the company, and they may think that you'll leave as soon as you get another offer.
Have a serious think about why you want to leave job C. It might be that you've just not given it time. Is there anything that you can change about job C that will make you want to stay.