If I have a large breed and a toy breed can they share the same room?

Yes if they live together and get along. If you can not trust them together in a crate or left in the bathroom together then they should not share the same room.