| Skylancer4 |
If you only have one attack due to BAB and you use the shield it would not be an off hand attack. If you attack doing a full attack action attempting a TWF routine it or the sword could be the off hand attack (your choice).
If you have multiple attacks (high BAB) and only use attacks from that you can use either of them for those attacks and neither would be off hand. Once you try to get additional attacks beyond those granted by BAB (ie TWF) you have to choose which weapon will be the off hand attack.