Family Dollar Stores has recorded a slump in earnings in the fourth quarter, reflecting what it said has been a difficult competitive environment.