Sorry about that, I misread the message. Here's what I came up with;
Your shot as described is a foul unless the movement was caused before your shot was completed. (As in during the set-up to the shot.)
There are no specific official regulations on this whole scenario at the moment, however, I'm waiting for a reply from the both the AMA and the BCA.
Some folks play "all ball fouls" meaning that if they touch any ball accidentally, they are automatically assessed a foul. This not common though, and is usually only exercised in tournaments. Even when it is, it is played as such where the player could concievably and reasonable be suspected of moving a ball in an attempt to cheat when there is prize money at steak..
On the other, more popular hand, is "cue ball fouls only." This means that if you accidentally touch the cue ball (and only the cue ball) with anything (your cue stick, your hand, the chalk, etc) it is a foul. But, if you are setting up to a shot and accidentally move another ball, other than the cue ball, it is not a foul. Also, if you cause a ball to move, you have to allow your opponent to put it back exactly where it was.
So if an object ball was frozen to the cue ball, and you accidentally made it move slightly while setting up to the shot, or taking the shot, then you must allow your opponent to put it back before you complete the shot.
In your case I think you are refering to movement once the shot stroke has been completed right? In that case, it would definitely be a foul.