Presuming that your BCD signals are at a sensible logic level, something like the 74*157 would do most of it -- the '157 is a quad 2-input multiplexer, so it takes two four-bit inputs and outputs one or the other depending on the state of a 'select' input line. Then you'd just need to drive that input with a 10-second pulse, which you could generate however you like -- for instance, with the old favourite 555 timer.