Australia and India both had the ascendancy at various points on Day 4, making the fifth and final day one for the ages.