Biden has regained the lead against former President Donald Trump in the key swing state of Pennsylvania despite third party contenders.