Dejar and quedar are both used in multiple situations, so more context would be needed to explain the differences between both verbs in specific phrases.
Anyway, they're nothing alike. Dejar means "let", "allow", "leave", "abandon", "lend"... while quedar means "remain", "stay", "have an appointment"...