Whoever scores more wins; if they both score the same amount, then it's whoever scored first. Any stoppages (timeout/injury) are applied to both sides at the next available stoppage.
Would be great fun seeing two field goal units rushing out, racing one another, and then the team that's behind having to modify to try to go for the touchdown