The peacekeepers were deployed in 2004 after former President Jean-Bertrand Aristide was ousted in an uprising .