Shares of Oracle were up after hours on Monday after the IT and cloud infrastructure provider reported fiscal fourth-quarter results that topped expectations.