I got a 6-pin on-off switch (image shown) for which i am not able to get proper library in eagle because i dont know the manufacturer. Please help me with the schematic too.
It's a five-minute job to create this (if working really slowly).. I'm not going to supply it, because then you're not learning anything for when you need the next part.. You'll be self-sufficient if you spend 20 minutes learning how to do it.
It may not be the answer you want, but it's what you need to solve all future similar problems.
Here's the blog post and video explaining how to do it: EAGLE Tutorial: Library Part Creation Part 1 - Creating Packages
Here's what it may look like (this is the TL4201 variant):