Current will flow from higher to lower potential.
Before connecting wire from A to B, voltage drop
across 4Ω=V×4+44=2V
Voltate drop across 1Ω=V×1+31=4V ∴ voltage drop at A=V−2V=2V
and volatage drop at B=V−4V=43V
So, VB>VA
Hence, on connecting wire between points A and B, the current will flow from B to A.