Unlikely I know, but for example:
Burnley lose 2-0 to QPR and beat Charlton 1-0. = 90 points, GD 32, 68 scored.
We beat Derby 3-0 and lost to Boro 1-0, = 90 points, GD 32, 73 scored.
Here's an interesting scenario:
If we beat Derby and Burnley suffer a defeat or get 2 draws on their last 2, we could be promoted regardless of the result at Borough, subject to goal difference.